<@U04UQ68083H> Is there a way to redirect to a new...
# ory-copilot
b
@chilly-king-10285 Is there a way to redirect to a new subdomain with ory oathkeeper
b
A message from kapa.ai
Based on the knowledge sources provided, I don't see specific information about using Ory Oathkeeper to redirect to a new subdomain. The knowledge sources focus primarily on Ory Network's custom domain setup, cookie configurations, and browser redirects, but don't contain details about Oathkeeper's redirect capabilities. What I can tell you is that Ory recommends a subdomain structure where: - Ory runs at a subdomain like
<http://auth.example.org|auth.example.org>
- Your backend API runs at
<http://api.example.org|api.example.org>
- Your frontend UI runs at
<http://www.example.org|www.example.org>
This setup allows both your frontend and backend to access the authentication session cookies managed by Ory, as mentioned in the [Migrate to Ory tutorial](https://www.ory.sh/docs/migrate-to-ory#integrate-frontend). If you're specifically looking for information about redirecting between subdomains with Oathkeeper, I would need additional knowledge sources that cover Oathkeeper's redirect capabilities in detail.