Xbox one and Fire TV Twitch App use twitch.tv/activate to authorize, first the App generates a code, then you enter the code at twitch.tv/activate, done, so neat and simple.
I am wondering if there is An API available for this?
Xbox one and Fire TV Twitch App use twitch.tv/activate to authorize, first the App generates a code, then you enter the code at twitch.tv/activate, done, so neat and simple.
I am wondering if there is An API available for this?
For example, here is the doc for youtube device authorization: https://developers.google.com/youtube/v3/live/guides/auth/devices
youtube: server-side: https://accounts.google.com/o/oauth2/auth?response_type=code
twitch: Authorization Code Flow: https://api.twitch.tv/kraken/oauth2/authorize?response_type=code
youtube: client-side: https://accounts.google.com/o/oauth2/auth?response_type=token
twitch: Implicit Grant Flow: https://api.twitch.tv/kraken/oauth2/authorize?response_type=token
There are a lot of similarity cause they all use oauth2, now back to youtube device, the address for post is: https://accounts.google.com/o/oauth2/device/code
Now I am wondering if twitch device address is some secret endpoint after:
https://api.twitch.tv/kraken/oauth2/
only if I can find it out somehow, any suggestions is welcome, and to twitch , if this discussion is not ok in anyway, please let me know too.
This isn’t a supported flow in our API.
Then can you advise how to develop App for devices without web browser and very very limited input capability? Thanks.
For our OAuth flows, we require a web browser to open the URL as stated in our authentication documentation. If that isn’t possible, there isn’t a supported way to authenticate on those devices.
So I assume all current Apps using device code authorization methods are all made by twitch.tv using internal API, is there any way for thirty party App developer to get access by some kind of application / certification process?
No, there isn’t a way to get access. Everything publicly available is found in the documentation at dev.twitch.tv/docs.
Thanks for super fast response.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.