Skip to content

Commit

Permalink
fix: waring
Browse files Browse the repository at this point in the history
  • Loading branch information
WangJunZzz committed Dec 20, 2024
1 parent 1c5905d commit 65663dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private void ConfigureJwtAuthentication(ServiceConfigurationContext context, ICo

currentContext.Token = accessToken;
currentContext.Request.Headers.Remove("Authorization");
currentContext.Request.Headers.Add("Authorization", $"Bearer {accessToken}");
currentContext.Request.Headers.Append("Authorization", $"Bearer {accessToken}");

return Task.CompletedTask;
}
Expand Down

0 comments on commit 65663dd

Please sign in to comment.