PERN App on Heroku 404 on callback

Hello,
I have a PERN stack app that is working fine on localhost but when deployed to heroku after I click to sign in I get a 404 on the callback.

The URL is exactly the same except for appname instead of localhost on all routes, i have also the env variables and callback and logout urls setup in auth0 correctly.

Is there anyone who can help me solve this problem? Thanks.

Hi @JPSCorreia,

Welcome to the Auth0 Community!

Generally, a 404 HTTP response error indicates that the webpage cannot be found. It seems that you may have misconfigured something in your Heroku app deployment.

In this case, I recommend double-checking the values in your app and redeploying the app again.

If the issue persists, could you please capture a HAR file of the events and DM them to me to investigate further?

Thank you.