Redirect users to organization specific subdomain after login

Hi @nathan.jenkins

Thanks for the reply. I’ve tried using {organization_name} but it still requires you to know the final subdomain before initiating the auth flow.

In my provided example, if UserA@companyA.org navigates to companyB.myapp.com, redirect_uri gets set to companyB.myapp.com and I can not find a way to change that to companyA.myapp.com, even if the user inputs companyA in the organization prompt.

Is there a way to get around this limitation?