Closed null-d3v closed 7 years ago
When using JWT access tokens, any claim with a WIF equivalent is translated into a WIF claim on the ClaimsPrincipal. However, when using reference access tokens, the claims are set on the ClaimsPrincipal with their OIDC names.
For example:
You should call JstSecurityTokenHandler.InboundClaimTypeMap.Clear() to normalize them.
JstSecurityTokenHandler.InboundClaimTypeMap.Clear()
When using JWT access tokens, any claim with a WIF equivalent is translated into a WIF claim on the ClaimsPrincipal. However, when using reference access tokens, the claims are set on the ClaimsPrincipal with their OIDC names.
For example: