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

Custom scopes cannot be added when refreshing tokens #47

Open
harmjanr opened this issue Jan 3, 2025 · 1 comment
Open

Custom scopes cannot be added when refreshing tokens #47

harmjanr opened this issue Jan 3, 2025 · 1 comment

Comments

@harmjanr
Copy link

harmjanr commented Jan 3, 2025

I have setup some custom scopes: For example, I added the client id to the scopes to use access tokens, which is required for the web implementation of my project.

In client_authentication.dart, the providedScopes param available in the getAllTokens method. However, this param is missing in refreshTokens. Because of this, the response of refreshing the tokens does not contain an access_token, but only an id_token and a refresh_token.

@harmjanr
Copy link
Author

harmjanr commented Jan 3, 2025

I created a PR to support this: #48

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