Skip to content
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

Add OAuth2 as an alternative to JWT tokens for the StreamElements service #1093

Open
hlxid opened this issue Feb 25, 2024 · 0 comments
Open
Labels
enhancement New feature or request service Requires changes to a service

Comments

@hlxid
Copy link
Member

hlxid commented Feb 25, 2024

Description

Currently the StreamElements service uses JWT token authentication. This is easy for the user because the token can be copied from the StreamElements dashboard without much setup.
JWT tokens have a disadvantage: they get invalid after some time and with StreamElements there is no way to refresh them without the user going to the dashboard again (at least as far as I know).

In contrast using OAuth2 allows for refreshing of the token. Initial setup is more complicated because the user has to register a OAuth2 API but longer term it is less maintenance as the token can be auto-refreshed. So we should add this as another option and leave the user the choice between the two authentication methods.

References

StreamElements OAuth2 docs: https://dev.streamelements.com/docs/api-docs/cd02cda5171ea-o-auth2

@hlxid hlxid added enhancement New feature or request service Requires changes to a service labels Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request service Requires changes to a service
Projects
None yet
Development

No branches or pull requests

1 participant