network icon indicating copy to clipboard operation
network copied to clipboard

Ory Tunnel serve in TLS / SSL

Open Pierozi opened this issue 1 year ago • 0 comments

Preflight checklist

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.

orynetwork-tls

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

Pierozi avatar Feb 03 '24 08:02 Pierozi