<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006iTBLZSA4Okta Classic EngineSingle Sign-OnAnswered2021-01-26T15:03:02.000Z2019-10-02T18:14:23.000Z2019-10-04T20:18:05.000Z
Redirect authentication based on user domain.

Have a use case where we have multiple external IDPs (many with ADFS). We need to be able to route authentication to the appropriate destination based upon the users domain.

 

So, App1 with the following authentication options

 

If Domain1 then use SAML IDP domain1.com

if Domain2 then use SAML IDP domain2.com

else use OKTA UD.

 

Anyone know how to approach this?


  • You can set up a routing rule to redirect users to the correct IdP based on their domain.

     

    Security > Identity Providers > Routing Rules tab

     

    Create a new rule and set 'user matches' to 'domain list on login' and put the domains. Then you just need to set 'Use this identity provider' and select the appropriate IdP.

    Expand Post
    Selected as Best
  • You can set up a routing rule to redirect users to the correct IdP based on their domain.

     

    Security > Identity Providers > Routing Rules tab

     

    Create a new rule and set 'user matches' to 'domain list on login' and put the domains. Then you just need to set 'Use this identity provider' and select the appropriate IdP.

    Expand Post
    Selected as Best
This question is closed.
Loading
Redirect authentication based on user domain.