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 PAR support #421

Merged
merged 13 commits into from
Apr 5, 2024
4 changes: 2 additions & 2 deletions src/OidcClient/AuthorizeClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ public async Task<AuthorizeState> CreateAuthorizeStateAsync(Parameters frontChan
{
_logger.LogError("Failed to push authorization parameters");

state.Error = "Failed to push authorization parameters";
state.ErrorDescription = parResponse.Error;
state.Error = parResponse.Error;
state.ErrorDescription = "Failed to push authorization parameters";
return state;
}
state.StartUrl = CreateAuthorizeUrl(parResponse.RequestUri, _options.ClientId);
Expand Down
Loading