The 'offline_access' scope is not allowed.
See original GitHub issueHello,
Forgive me if it’s a basic question, but I could not find an answer to it online or in the docs.
I’m trying to generate refresh tokens for my app, but I can’t get an authorization code since I’m getting the error: invalid_request The 'offline_access' scope is not allowed.
I’m getting this error on this URL:
http://localhost:5001/connect/authorize?response_type=code&redirect_uri=myuri&client_id=mvc&scope=openid+profile+email+roles+offline_access
Everything works fine without offline_access, except that I can’t have refresh tokens…
Do you need more info from me? Can anyone help me out on this?
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
The 'offline_access' scope is not allowed when using ...
Using Asp.Net Core 5.0 with Identity and OpenIdDict I have the following: services.AddOpenIddict() .AddCore(x => { x.UseEntityFrameworkCore().
Read more >Unable to authenticate with the offline_access scope ...
Hey, we did update our project to .NET 6 and migrated to OpenIddict. Our client application authenticates with the scope offline_access.
Read more >The offline_access scope is ignored when used in ...
Hello, When using the standard OAuth 2.0 workflow the `offline_access` scope appears to be stripped from the scope list when requesting a scope...
Read more >AccessTokenError when requesting offline_access scope
Describes how refresh tokens work to allow the application to ask Auth0 to issue a new access token or ID token without having...
Read more >Scopes and permissions in the Microsoft identity platform
The offline_access scope gives your app access to resources on behalf of the user for an extended time. On the consent page, this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
C’était avec plaisir 😄
Good to know, I’ll probably migrate when I will have time. After digging a little more into the issue, it is definitely a deserialization issue on my end, sorry for bothering you. I think this issue has been resolved.
Thank you so much for your help!