map the roles in the JWToken
This commit is contained in:
parent
b2db9a1647
commit
43b289886e
4 changed files with 88 additions and 12 deletions
|
|
@ -39,6 +39,7 @@ public static class Config
|
|||
{
|
||||
new IdentityResources.OpenId(),
|
||||
new IdentityResources.Profile(),
|
||||
new IdentityResources.Email()
|
||||
};
|
||||
|
||||
public static IEnumerable<ApiScope> ApiScopes =>
|
||||
|
|
@ -79,7 +80,7 @@ public static class Config
|
|||
AllowedScopes = {
|
||||
IdentityServerConstants.StandardScopes.OpenId,
|
||||
IdentityServerConstants.StandardScopes.Profile,
|
||||
"scope2" }
|
||||
IdentityServerConstants.StandardScopes.Email }
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue