Following quickstart does not work - getting 401

I created a new SPA application, downloaded the code, configured http://localhost:3000 where I was asked to and when running the code (javascript) I get 401 for token endpoint with response “{“error”:“access_denied”,“error_description”:“Unauthorized”}”.

I saw that sometimes changing between SPA and regular web and back again helps but it did not help to solve my issue.

Hi @aleg

Check your Auth0 tenant logs in your dashboard.
That will give you more info on the error. The “unauthorized” is (intentionally) not filled with detail.

John