Ory Tunnel serve in TLS / SSL
Pierozi opened this issue · comments
Pierre Tomasina commented
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
I run a localhost SPA application that implement the authentication page of ory.network.
In order to manage the cookie, the Ory Tunnel is used locally.
The problem is that the Cookie is not sent to a distant api backend that is served on the same domain because it's in HTTPS.
Describe your ideal solution
We could add --ssl option to be able to serve Ory Tunnel or Proxy in https with a self-signed certificate.
Workarounds or alternatives
I had to start an HaProxy docker container in front of the Ory Tunnel to serve all the requests in https.
Version
v0.2.2
Additional Context
No response