Skip to content

Commit 7b3ecd8

Browse files
committed
Scope claim type update
1 parent 9c4b4d0 commit 7b3ecd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-WebApp-AuthZ/5-2-Groups/Services/MicrosoftGraph-Rest/GraphHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private static bool HasOverageOccurred(ClaimsPrincipal identity)
7676
/// <returns></returns>
7777
private static bool IsAccessToken(ClaimsIdentity identity)
7878
{
79-
return identity.Claims.Any(x => x.Type == "scp");
79+
return identity.Claims.Any(x => x.Type == "scp" || x.Type == "http://schemas.microsoft.com/identity/claims/scope");
8080
}
8181

8282
/// <summary>

0 commit comments

Comments
 (0)