Damir Dobric Posts

Next talks:



Follow me on Twitter: #ddobric




I guess, when you see error shown below (or similar) error, you might get kind of crazy:

Microsoft.IdentityModel.Tokens.SecurityTokenSignatureKeyNotFoundException: 'IDX10501: Signature validation failed. Unable to match 'kid': 'VWVIc1WD1Tksbb301sasM5kOq5Q',
token: '{"alg":"RS256","typ":"JWT","x5t"

This error means that signature of the specified token cannot be validated. This happens if your token is issued by for example AAD in public cloud and you are validating signature against another cloud like german-cloud.

In another words, the client has obtained the token from Authority1 and Service is validating signature by Authority2.

AAD endpoint in configuration client and service must match.

Posted Aug 23 2017, 04:38 PM by Damir Dobric is a .Net Community Blog powered by daenet GmbH.