You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Account Experience > Browser redirects page, you can configure the redirect settings for your Ory project.
There are no issues if you use the default project URL or only have a single custom domain.
But if you have multiple custom domains, then configuring the redirects may be problematic.
Path values are limited since, if the redirect value is a path instead of a full URL, the path is relative to the project URL and not the Custom UI base URL. Since you can't host pages under the project URL (even with a custom domain), you'll likely need to set the redirect value using a full URL. But if you have multiple custom domains, then the full URL may not work with all of the custom domains.
Describe your ideal solution
Similar to the Account Experience > UI URLs page where you set the Custom UI Base URL and flow UI values separately for each custom domain, you should be able to set the redirects separately for each custom domain. Or at least be able to set a custom base URL for each custom domain, and then path redirect values should be relative to the base URL.
Workarounds or alternatives
Right now I am setting a return_to value in my code when there isn't already one specified, which can be dynamic based on where the code is running
Version
Ory Network
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Hey Brandon, I think that makes sense! Currently, multi-domain system is making it complicated to do what you're asking. We have it on the backlog to improve this architecture which would allow changes like the one you mentioned. Unfortunately, that's not going to happen soon as it's a quite complicated process to ensure there are no breaking changes.
Preflight checklist
Ory Network Project
dazzling-chandrasekhar-msru5m4b1c
Describe your problem
On the Account Experience > Browser redirects page, you can configure the redirect settings for your Ory project.
There are no issues if you use the default project URL or only have a single custom domain.
But if you have multiple custom domains, then configuring the redirects may be problematic.
Path values are limited since, if the redirect value is a path instead of a full URL, the path is relative to the project URL and not the Custom UI base URL. Since you can't host pages under the project URL (even with a custom domain), you'll likely need to set the redirect value using a full URL. But if you have multiple custom domains, then the full URL may not work with all of the custom domains.
Describe your ideal solution
Similar to the Account Experience > UI URLs page where you set the Custom UI Base URL and flow UI values separately for each custom domain, you should be able to set the redirects separately for each custom domain. Or at least be able to set a custom base URL for each custom domain, and then path redirect values should be relative to the base URL.
Workarounds or alternatives
Right now I am setting a
return_to
value in my code when there isn't already one specified, which can be dynamic based on where the code is runningVersion
Ory Network
Additional Context
No response
The text was updated successfully, but these errors were encountered: