Skip to content

Commit

Permalink
refactor: update RoleClaimType to match the roles claim (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav-id authored Nov 27, 2023
1 parent 3d32682 commit 4f07b15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private static void ConfigureOpenIdConnectOptions(OpenIdConnectOptions options,
options.TokenValidationParameters = new TokenValidationParameters
{
NameClaimType = "name",
RoleClaimType = "role",
RoleClaimType = "roles",
ValidateAudience = true,
ValidAudience = logtoOptions.AppId,
ValidateIssuer = true,
Expand Down

0 comments on commit 4f07b15

Please sign in to comment.