IdentityModel / IdentityModel.AspNetCore.OAuth2Introspection

ASP.NET Core authentication handler for OAuth 2.0 token introspection
Apache License 2.0
147 stars 66 forks source link

map Claims like Microsoft.AspNetCore.Authentication.JwtBearer #148

Closed Azaferany closed 3 years ago

Azaferany commented 3 years ago

hi im using your great library as well as Microsoft.AspNetCore.Authentication.JwtBearer for Authentication in in v5 JwtBearer add a prop for change default behavior of maping in v5 MapInboundClaims and its use this maping maping

in the older version of jwt thay change type of jwt claim and your package not and in the dev of projects they use both of them its make conflict i think its would be nice feature in your package

leastprivilege commented 3 years ago

You can do any mapping in extensibility like events or claims transformation. I think passing the real values on is the best behavior.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.