Auth0 Home Blog Docs

Auth0 works locally but not on deployed Heroku app

Using single page React. Works fine locally but after I deploy it, after I log in it redirects me to a 404 page. After doing research, I saw on the HAR file that it logs in successfully but gets the 404 error at GET https://myapp.auth0.com/user/ssodata.

Hello @ShmouG,

Are you able to post the suspect code? The /ssodata endpoint is deprecated so shouldn’t be called. Make sure you are using Universal Login and / or the latest versions of Lock and / or auth0.js.