Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit e948bbe

Browse files
committed
Swap error and error description
1 parent 20e77ec commit e948bbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OidcClient/AuthorizeClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ public async Task<AuthorizeState> CreateAuthorizeStateAsync(Parameters frontChan
114114
{
115115
_logger.LogError("Failed to push authorization parameters");
116116

117-
state.Error = "Failed to push authorization parameters";
118-
state.ErrorDescription = parResponse.Error;
117+
state.Error = parResponse.Error;
118+
state.ErrorDescription = "Failed to push authorization parameters";
119119
return state;
120120
}
121121
state.StartUrl = CreateAuthorizeUrl(parResponse.RequestUri, _options.ClientId);

0 commit comments

Comments
 (0)