qscore
qscore copied to clipboard
Error 405 while trying to connect via auth0
Using the 'simple' deployment locally, while trying to authenticate, I get an error message with a code 405. It seems that the callback url is not active.
In the logs I see this error in NGINX : nginx_1 | nginx: [emerg] host not found in upstream "frontend:3000" in /etc/nginx/conf.d/default.conf:2
After investigations, it seems that nginx is started before the frontend.
So I add a link in docker-compose to wait for the frontend to start before starting nginx : nginx: [...] links: - frontend
And now I could connect normally.