You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@damienbod awesome, I'm not sure if it's worth suggesting the newer MapInboundClaims = false option rather than this though? This is global whereas the option is per scheme.
@damienbod awesome, I'm not sure if it's worth suggesting the newer MapInboundClaims = false option rather than this though? This is global whereas the option is per scheme.
Description
As of .NET 8 Preview 7, the referenced code under
Claims namespaces, default namespaces
will no longer work.It suggests calling
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
which is nowJsonWebTokenHandler.DefaultInboundClaimTypeMap.Clear();
.Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/claims?view=aspnetcore-8.0#claims-namespaces-default-namespaces
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authentication/claims.md
Document ID
b01e1351-d362-fd61-4dcb-bacb21559f76
Article author
damienbod
The text was updated successfully, but these errors were encountered: