Auth0 Home Blog Docs

Help! Cannot GET /callback

auth0
heroku
login

#1

I am using Auth0 for authentication for an Angular app deployed to Heroku. The login feature was working without issue for the first few weeks but is now failing with " Cannot GET /callback".

The callback url is whitelisted in my dashboard.
The callbackUrl is also set to the correct uri, myapp.heroku.com/callback.

What would cause this to randomly stop working? In the console I see a content security error

Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”).

I suspect this could be the culprit but I’m not sure how to solve this. Has anybody experienced this before?


#2

:wave: @EssenceOfChaos did it stop working after you deployed to Heroku? Or was the application working while previously being deployed?

The error message you have seems like your server is not serving the main page with the correct Response Headers.