IdentityServer / IdentityServer3.AccessTokenValidation

OWIN Middleware to validate access tokens from IdentityServer3
Apache License 2.0
90 stars 150 forks source link

Claims translated to WIF for JWT access tokens #123

Closed null-d3v closed 8 years ago

null-d3v commented 8 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:

brockallen commented 8 years ago

You should call JstSecurityTokenHandler.InboundClaimTypeMap.Clear() to normalize them.