Figuring out Why Your Access Token is Invalid (OWIN/Katana)

added by DotNetKicks
4/6/2018 2:30:40 PM

1 Kicks, 225 Views

I was doing some consultancy work for a client today and had to integrate with an IDP to secure an API. Somehow however, the access tokens provided by the IDP couldn't be validated. For access token validation I by default use IdentityServer's AccessTokenValidation middleware as it adds some nifty features to MS's JWT Bearer Authentication middleware.