Default mapping logic from jwt payload to claims
Hey,
I have asp.net core web api with jwt authentication. It's fairly "default", something you would find on most tutorials.
If I would generate token it would have payload:
So whenever token is successfully validated I'm expecting to have two claims with same keys as types and values. But for some reason I'm getting the following:
Because of this I have a question. Is there a flag of some sort to disable this key to type override or I have to override this override?
1 Reply
With a bit of more reading I have found "MapInboundClaims" flag when it's false any remapping is ignored.