Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ory Tunnel serve in TLS / SSL #373

Open
5 tasks done
Pierozi opened this issue Feb 3, 2024 · 0 comments
Open
5 tasks done

Ory Tunnel serve in TLS / SSL #373

Pierozi opened this issue Feb 3, 2024 · 0 comments
Labels
feat New feature or request.

Comments

@Pierozi
Copy link

Pierozi commented Feb 3, 2024

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 Pierozi added the feat New feature or request. label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant