question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The 'offline_access' scope is not allowed.

See original GitHub issue

Hello,

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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
kevinchaletcommented, Oct 24, 2019

C’était avec plaisir 😄

0reactions
PaulCombalcommented, Oct 24, 2019

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found