Skip to content

Commit

Permalink
Update the order of the ResolveClientRegistrationFromStateToken handler
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchalet committed Dec 7, 2022
1 parent 8c14d4e commit 7751afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenIddict.Client/OpenIddictClientHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ public sealed class ResolveClientRegistrationFromStateToken : IOpenIddictClientH
= OpenIddictClientHandlerDescriptor.CreateBuilder<ProcessAuthenticationContext>()
.AddFilter<RequireStateTokenPrincipal>()
.UseSingletonHandler<ResolveClientRegistrationFromStateToken>()
.SetOrder(ValidateRequestForgeryProtection.Descriptor.Order + 1_000)
.SetOrder(ValidateEndpointUri.Descriptor.Order + 1_000)
.Build();

/// <inheritdoc/>
Expand Down

0 comments on commit 7751afd

Please sign in to comment.