-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make oauth tokens automatically renew #5
Comments
The downside to this is that we would need to have code as well as a client secret, which could be fine, but the issue is that the current auth method is missing a client secret (source code is visible so this won't happen) or a code (need said secret) or the refresh token (need a code). You could probably use twitchtokengenerator, but you'll also be using their client id/secret (apparently?), which is fine but you'll be in a group sharing that same token which may be less than ideal. |
Currently, the user has to renew their oauth tokens every couple of weeks. This can be jarring and would be better to streamline this ease of use by making it such that the token auto-renews.
https://dev.twitch.tv/docs/authentication/refresh-tokens/
This would require also saving the refresh token in addition to the current access token.
The text was updated successfully, but these errors were encountered: