Browse Source

fix ex message for PAR in degraded mode

from 0467 to 0466
pull/2440/head
JarieTimmer 2 weeks ago
committed by GitHub
parent
commit
1f75b27a7d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/OpenIddict.Server/OpenIddictServerConfiguration.cs

2
src/OpenIddict.Server/OpenIddictServerConfiguration.cs

@ -406,7 +406,7 @@ public sealed class OpenIddictServerConfiguration : IPostConfigureOptions<OpenId
descriptor.Type is OpenIddictServerHandlerType.Custom &&
descriptor.FilterTypes.All(type => !typeof(RequireDegradedModeDisabled).IsAssignableFrom(type))))
{
throw new InvalidOperationException(SR.GetResourceString(SR.ID0467));
throw new InvalidOperationException(SR.GetResourceString(SR.ID0466));
}
if (options.RevocationEndpointUris.Count is not 0 && !options.Handlers.Exists(static descriptor =>

Loading…
Cancel
Save