ASP.NET API not validating token
Hi, I am configuring as ASP.NET API, and I am having issues getting my token to validate.
I have configured my validation like so:
I get my token from a Nuxt front end and pass it as an authorization header on request to the ASP.NET backend.
I have checked my JWT here: https://jwt.io/ and everything appears to be in order. I can use it just fine on my front end.
When I run my controller, the
I have also tried this configuration setup:
Any help would be greatly appreciated
I have configured my validation like so:
I get my token from a Nuxt front end and pass it as an authorization header on request to the ASP.NET backend.
I have checked my JWT here: https://jwt.io/ and everything appears to be in order. I can use it just fine on my front end.
When I run my controller, the
HttpContext.User is always null.I have also tried this configuration setup:
Any help would be greatly appreciated
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
