404 when trying to run auth0 and vuejs in production

Hello,

I’m currently using vuejs for my frontend application. In dev, the authentication works well but when I run in production, the redirection to the callback URL returns a 404. I’m using an nginx docker image to run my server, and I’m using the history routing.

Auth0 redirects me to domain.com//callback#access_token=… and this doesn’t work. I think that because this route doesn’t exist for nginx, and the vue application is not at this URL but doesn’t know how to fix it.

Thank you in advance for your help ! :smiley:

I’ve also tried on a localhost docker image to reproduce what happening in production and I get a 404 error when auth0 is redirecting me to http://localhost/callback#access_token=

Hey there @Sehsyha!

Can you DM me with your HAR file when you reproduce the error in your workflow so I can investigate it further? Here’s more on what HAR files are:

Thanks for that!

Hey @Sehsyha!

We’re looking into it with our Developer Support team. Will get to you shortly!

When running in production, what is the URL of your application, and what is the URL that Auth0 is redirecting to?

In production, the URL of the application is http://crounch.me and the URL Auth0 is pointing to is http://crounch.me/callback

Hello.
Sorry for asking on a relatively older thread. Could you share how you resolved this issue please.
Thanks