network
network copied to clipboard
Ory Tunnel serve in TLS / SSL
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [X] I have joined the Ory Community Slack.
- [X] 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 or --tls option to be able to serve Ory Tunnel or Proxy in https with a self-signed certificate.
A bit similar to what angular provide with ng serve --ssl --host lo.app.dev
Workarounds or alternatives
I had to build a docker container with HaProxy and a selfsigned certificate with Ory Tunnel inside. It's working but it's not ideal.
Version
v0.2.2
Additional Context
No response