Auth0 Home Blog Docs

404 when trying to run auth0 and vuejs in production



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… 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: