You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Example (and from what I can see there is no way to solve this) the ImplicitGranFlow login will always pop open a default browser window for the user to authenticate with Twitch. I'd love to save the access token, refresh token and any other information in order to reload it after the initial page confirmation.
If I'm missing something basic, perhaps the Example, or some other place could make this more clear.
Expected: Only open the browser when access & refresh token is invalid, otherwise just use the prior tokens.
The text was updated successfully, but these errors were encountered:
It probably is also a good idea to add it to the default repository here, so I'll do just that.
The TwitchIDConnection has a builtin validity check for the passed in token - so instantiate a new token using the constructor from the data you saved and pass it in, the TwitchIDConnection will handle the rest.
In the Example (and from what I can see there is no way to solve this) the ImplicitGranFlow login will always pop open a default browser window for the user to authenticate with Twitch. I'd love to save the access token, refresh token and any other information in order to reload it after the initial page confirmation.
If I'm missing something basic, perhaps the Example, or some other place could make this more clear.
Expected: Only open the browser when access & refresh token is invalid, otherwise just use the prior tokens.
The text was updated successfully, but these errors were encountered: