I’ve followed this and everything works great, thanks for the tutorial! However, once I put this into production, I’m stuck in a redirect loop between Auth0 and my page because there is no user instance in my requests, although logs show a successful login. Its because in production, we start up 3 containers with the frontend app. We need the resilience and backups. The load balancer distributes the requests among them (in dev, we only have 1 up). If we take prod down to 1 container, it works fine. It appears that the node server needs to be the same one that initiated the login, despite it being on the same url. Is there a way inside Auth0 around it or it does not support multiple server instances?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
This site can’t be reached localhost.com took too long to respond | 2 | 4406 | September 5, 2019 | |
Full Stack Architecture + Auth0 | 13 | 2557 | March 1, 2023 | |
Node.js Express integration causing strange behaviour | 2 | 3625 | September 5, 2019 | |
New Express Nodejs SDK in Early Access! | 13 | 5356 | January 30, 2020 | |
Help needed with Stateless sessions and token based NodeJs QuickStart guide | 1 | 4208 | January 8, 2020 |