Search code examples
angularauthorizationjwtaccess-tokenidentityserver4

How to debug Access token validation against Identityserver4


I am using IdentityServer4 to validate angular 4 client to secure a WebApi. but I am running into 401 on authorization. I need a way to debug Access token validation process to help me figure out the issue.


Solution

  • Turned out that I used app.UseMvc(); before app.UseIdentityServerAuthentication in startup class Configure() function