network
network copied to clipboard
Relative URLs on Custom UI
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] This issue affects my Ory Cloud project.
- [X] I have joined the Ory Community Slack.
- [X] I am signed up to the Ory Security Patch Newsletter.
Describe your problem
Although not technically a problem with the Cloud product - users are having difficulty setting up multiple environments when using the Custom UI on the same project.
e.g. I set my Login URL to /login so that I can have localhost:3000/login work as well as staging.mydomain.com/login.
See https://github.com/ory/docs/issues/961
Describe your ideal solution
A better way to interface with the Ory cloud on multiple test environments (localhost, staging, dev etc).
Workarounds or alternatives
We could have users setup Oathkeeper or Caddy in front of their deployments to managing the redirect to the correct services for them, however, this adds complexity to an environment meant for rapid setup and testing.
Version
latest
Additional Context
No response