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 | |
---|---|---|---|---|
Full Stack Architecture + Auth0 | 13 | 2510 | March 1, 2023 | |
This site can’t be reached localhost.com took too long to respond | 2 | 4406 | September 5, 2019 | |
Create a Simple and Stylish Node Express App | 37 | 9306 | March 28, 2022 | |
Login failure (possibly code exchange) or redirect failure | 1 | 1185 | September 27, 2023 | |
Node.js Express integration causing strange behaviour | 2 | 3623 | September 5, 2019 |