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 | |
---|---|---|---|---|
Node, Express, MongoDB. I have a few questions before I start | 0 | 738 | August 23, 2023 | |
Create a Simple and Stylish Node Express App | 37 | 9189 | March 28, 2022 | |
New Express Nodejs SDK in Early Access! | 13 | 5334 | January 30, 2020 | |
Could I use cookie-session instead of express-session? | 2 | 7475 | August 14, 2019 | |
Login failure (possibly code exchange) or redirect failure | 1 | 1134 | September 27, 2023 |