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
I was setting up IdentityManager and getting a unauthorized access error trying to login using almost the same code as the sample host, only I was missing this one line:
JwtSecurityTokenHandler.InboundClaimTypeMap = new Dictionary<string, string>();
During my debugging I was watching the logs and there was no real indication as to why the login failed. So I was wondering that given this line is so important when using IdentityServer and IdentityManager, if there was an applicable spot that might be able to detect that the claim mapping was incorrect and log a descriptive warning or error?
I was setting up IdentityManager and getting a unauthorized access error trying to login using almost the same code as the sample host, only I was missing this one line:
JwtSecurityTokenHandler.InboundClaimTypeMap = new Dictionary<string, string>();During my debugging I was watching the logs and there was no real indication as to why the login failed. So I was wondering that given this line is so important when using IdentityServer and IdentityManager, if there was an applicable spot that might be able to detect that the claim mapping was incorrect and log a descriptive warning or error?