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

Add a page describing the degraded mode and explaining how to enable it #39

Open
1 task done
kevinchalet opened this issue Jan 16, 2022 · 0 comments
Open
1 task done

Comments

@kevinchalet
Copy link
Member

Confirm you've already contributed to this project or that you sponsor it

  • I confirm I'm a sponsor or a contributor

Describe the solution you'd like

Enabling the degraded mode has multiple effects that should be listed in the documentation:

// Explicitly disable all the features that are implicitly excluded when the degraded mode is active.
if (options.EnableDegradedMode)
{
    options.DisableAuthorizationStorage = options.DisableTokenStorage = options.DisableRollingRefreshTokens = true;
    options.IgnoreEndpointPermissions = options.IgnoreGrantTypePermissions = true;
    options.IgnoreResponseTypePermissions = options.IgnoreScopePermissions = true;
    options.UseReferenceAccessTokens = options.UseReferenceRefreshTokens = false;
}

https://github.com/openiddict/openiddict-core/blob/186d3d8ddb84d600876e620fe9c236748a7e885b/src/OpenIddict.Server/OpenIddictServerConfiguration.cs#L31-L38

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant