-
|
I would like to use hydra on an embedded device which has no fixed IP/Hostname. Therefore, it is necessary to redirect the user to the login and consent page using a relative url. Everything is behind a reverse proxy which defines the paths, so that the urls for the web browser become the following: Looking at the configuration reference (https://www.ory.sh/docs/hydra/reference/configuration) it should be possible to set relativ paths: But if I set the Is it somehow possible to achieve redirection not knowing the full? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello @hesmar |
Beta Was this translation helpful? Give feedback.
Hello @hesmar
Apologies for the late reply here, going through some older unanswered discussions atm.
Ory Hydra does not currently support setting urls.login (or similar endpoints) to a relative path such as /ui/login. While the configuration reference shows examples with both absolute and relative URLs, in practice, Hydra enforces that these values must be valid URIs, which means a fully qualified URL with scheme and host.
The only workaround I can think of is to use a reverse proxy for routing, but Hydra itself still requires absolute URLs in its configuration.
Let me know if you have found another solution since.