Skip to content

Commit 58b6dfb

Browse files
authored
Use the correct exception message when the degraded mode is enabled without a custom PAR validation event handler being added
1 parent d70c666 commit 58b6dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenIddict.Server/OpenIddictServerConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ descriptor.Type is OpenIddictServerHandlerType.Custom &&
406406
descriptor.Type is OpenIddictServerHandlerType.Custom &&
407407
descriptor.FilterTypes.All(type => !typeof(RequireDegradedModeDisabled).IsAssignableFrom(type))))
408408
{
409-
throw new InvalidOperationException(SR.GetResourceString(SR.ID0467));
409+
throw new InvalidOperationException(SR.GetResourceString(SR.ID0466));
410410
}
411411

412412
if (options.RevocationEndpointUris.Count is not 0 && !options.Handlers.Exists(static descriptor =>

0 commit comments

Comments
 (0)