-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hello, I am following the Angular By Authentication Example. Just downloaded the repo and checkout the basic-authentication branch. Also, I set the .env file with the properties described in the guide.
I start the app in local. Both signup and login work because I can see the new users in my OAuth account under https://manage.auth0.com/dashboard/eu/<domain>/users. However, when the app returns to http://localhost:4040/callback the app UI shows "Error Unauthorized". And I can see in the DevTools that the POST request to https://<domain>/oauth/token returned a 401. The payload seems OK but the response says
{"error":"access_denied","error_description":"Unauthorized"}`. See image:

The logs under https://manage.auth0.com/dashboard/eu/<domain>/logs show the successful login but immediately a Failed Exchange error:

The result is that I can't use the sample app at all.