Closed gdavis closed 8 years ago
Most devices of this nature use a discovery service for this. The app checks in with the service, which issues it a short serial number. On a browser-enabled device, this code is entered into a portal that you are authenticated to, and that builds the OAuth trust.
On Fri, Oct 16, 2015 at 11:06 AM, Grant Davis notifications@github.com wrote:
Following the API documentation regarding using OAuth2, it seems we are unable to authenticate a user using tvOS since there is no web view available. How do we go about authenticating users for requests under this new platform? Are there any legacy APIs we can make use of to support this?
— Reply to this email directly or view it on GitHub https://github.com/justintv/Twitch-API/issues/449.
Thanks for the reply @belthesar. Are you referring to a solution similar to what this article describes? http://stephenradford.me/oauth-login-on-tvos/
OAuth login is the correct way to go about this. In the future, I would suggest asking questions like this in the Twitch Developer Forums.
Following the API documentation regarding using OAuth2, it seems we are unable to authenticate a user using tvOS since there is no web view available. How do we go about authenticating users for requests under this new platform? Are there any legacy APIs we can make use of to support this?