Hey @kimcodes!
I’ll do all my steps once again for you :).
So… I downloaded the sample for jQuery. I can log in within auth0.com nice and smooth :).
Then I download the sample ASP.NET Core Web API v2.0: Authorization. I kicked off. I went to site: http://localhost:3010/api/public and I can see: {“message”:“Hello from a public endpoint! You don’t need to be authenticated to see this.”}.
A token which I’ll use I took from localStorage.id_token.
I tried to go to the site: http://localhost:3010/api/private. I saw: This page isn’t working. If the problem continues, contact the site owner. HTTP ERROR 401
I ran Postman:
Get: http://localhost:3010/api/private
Authorisation Type: Bearer Token (localStorage.id_token token from there)
I send a request. I got 401 Unauthorized