Running production Blitz with oAuth + Nginx SSL proxy #967
-
I am running production Blitz on the VPS which uses Nginx to set up SSL and cache. Once I try to use Twitter auth I get "Failed to find request token in session" error. Seems cookie cant be set. Should I set something up in a specific way to make ssl+nginx proxy work in production and let session cookies to be set? For example, Express-session documentation says: "If you have your node.js behind a proxy and are using secure: true, you need to set "trust proxy" in express" Found this one which seems to be not applicable to Blitz directly vercel/next.js#14761 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I also replied to your GH issue, but the the direct answer to your question here is that we haven't tested this scenario yet. So there is nothing to configure yet. Someone needs to investigate and see how to make this work. |
Beta Was this translation helpful? Give feedback.
I also replied to your GH issue, but the the direct answer to your question here is that we haven't tested this scenario yet. So there is nothing to configure yet. Someone needs to investigate and see how to make this work.