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

When scope for endpoint is missing in the access token, it gets locked in a loop refreshing the access token #204

Open
Dainismo opened this issue Nov 1, 2023 · 0 comments

Comments

@Dainismo
Copy link

Dainismo commented Nov 1, 2023

Steps to reproduce:

  • request access token with no scopes
  • Set OnUserAccessTokenRefreshed
  • call an endpoint that need a scope (ex. GetFollowedChannels)

What happens:
It gets into an endless loop calling the function passed to OnUserAccessTokenRefreshed.

What should happen:
It should be able to distiguish between unauthorized because of missing scopes and unauthorized because of an expired access token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant