Open Closed

Unable to authenticate with the offline_access scope (OpenIddict) #3842


User avatar
0
alin.andersen created

Hey,

we did update our project to .NET 6 and migrated to OpenIddict.

Our client application authenticates with the scope offline_access. We need to refresh our tokens with the refresh token. But without the offline_access token the refresh token is null.

The error message we get from AuthServer is the following:

error:invalid_request
error_description:The client application is not allowed to use the 'offline_access' scope.
error_uri:https://documentation.openiddict.com/errors/ID2065

How can we enable this functionality? I did not find any documentation for this yet.

Thanks!

  • ABP Framework version: v6.0.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC)

2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

  • User Avatar
    0
    alin.andersen created

    Hey!

    thanks that was the solution for my problem! :)

    Best regards

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19