Skip to content

Commit

Permalink
remove decode
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx committed Feb 6, 2024
1 parent 949ac85 commit 03ab200
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public async Task<IActionResult> HandleAuthorizationCallbackAsync([FromQuery(Nam
try
{
logger.LogInformation("State: {State}", state);
userIdentity = JsonSerializer.Deserialize<UserIdentity>(DecryptState(HttpUtility.UrlDecode(state)));
userIdentity = JsonSerializer.Deserialize<UserIdentity>(DecryptState(state));
ArgumentNullException.ThrowIfNull(userIdentity);
}
catch (Exception)
Expand Down

0 comments on commit 03ab200

Please sign in to comment.