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

The refresh_token grant should just reuse the scopes of the previously issued access token #1166

Conversation

morvans
Copy link

@morvans morvans commented Dec 2, 2020

First attempt to tackle #1117.

@Sephster
Copy link
Member

Sephster commented Dec 2, 2020

Thanks for your PR. Unfortunately this issue can't be fixed without a breaking change. The refresh token currently derives its scopes from the attached access token. The access token can have fewer scopes than the original refresh token so we need to adjust the way scopes are assigned to the refresh token which will cause a BC break. Thanks for your PR but unfortunately we won't be able to go further with this just now.

@Sephster Sephster closed this Dec 2, 2020
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

Successfully merging this pull request may close these issues.

2 participants