Skip to content

Commit

Permalink
revert wilson workaround and use latest 6.10.2 (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyf19 authored Apr 19, 2021
1 parent c29fe35 commit 65c99a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ private static void AddMicrosoftIdentityWebApiImplementation(
string jwtBearerScheme,
bool subscribeToJwtBearerMiddlewareDiagnosticsEvents)
{
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Remove(ClaimConstants.Name);

builder.AddJwtBearer(jwtBearerScheme, configureJwtBearerOptions);
builder.Services.Configure(jwtBearerScheme, configureMicrosoftIdentityOptions);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,6 @@ private static void AddMicrosoftIdentityWebAppInternal(
throw new ArgumentNullException(nameof(configureMicrosoftIdentityOptions));
}

JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Remove(ClaimConstants.Name);

builder.Services.Configure(configureMicrosoftIdentityOptions);
builder.Services.AddHttpClient();

Expand Down

0 comments on commit 65c99a3

Please sign in to comment.