Skip to content

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

Description

@kevinchalet

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions