<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
0D51Y00008Mw6AcSAJOkta Classic EngineSingle Sign-OnAnswered2026-04-01T09:00:20.000Z2020-04-28T20:42:13.000Z2020-04-29T14:25:55.000Z

cxqv7 (cxqv7) asked a question.

SSO authentication from 2 different domains with a trust

If we have 2 AD Domains, Domain A and Domain B with a trust between them, can SSO authenticate users to their respectivetive domains? Meaning a user from Domain A will be authenticated from Domain A and a user from Domain B will be authenticated from Domain B?


  • k5fuw (k5fuw)

    Yes. Ignoring fault tolerance and redundancy for a moment... One option is to install an Okta AD agent in each domain. Another is to install a single AD agent, using a service account that has the appropriate rights in both domains, on a server with the necessary ports open to the domain controllers in both domains. After installing the agent, you just have to add both domains to the agent configuration. This is actually the configuration we've been using for the last 5 years, to authenticate users in 3 domains across 2 forests. And for fault tolerance, this same configuration is installed on 4 servers - two on-premises and two in AWS.

    Expand Post
    Selected as Best
  • k5fuw (k5fuw)

    Yes. Ignoring fault tolerance and redundancy for a moment... One option is to install an Okta AD agent in each domain. Another is to install a single AD agent, using a service account that has the appropriate rights in both domains, on a server with the necessary ports open to the domain controllers in both domains. After installing the agent, you just have to add both domains to the agent configuration. This is actually the configuration we've been using for the last 5 years, to authenticate users in 3 domains across 2 forests. And for fault tolerance, this same configuration is installed on 4 servers - two on-premises and two in AWS.

    Expand Post
    Selected as Best
  • cxqv7 (cxqv7)

    Thanks for the answer. A follow up question...under your solution does DSSO still work for users from both domains? And are there any features that don't work under your setup that would otherwise worked if you just had 1 domain?

  • k5fuw (k5fuw)

    Yes, DSSO works for us, since the application pool for the IWA service is running under the same service account as the Okta AD agent service (and both the AD agent and the IWA service are installed on the same server).

     

    Image is not available

    Image is not available

    I'm not aware of any features that don't work in this configuration.

     

    Expand Post
  • cxqv7 (cxqv7)

    Thanks for all you answers! Much appreciated.

This question is closed.
Loading
SSO authentication from 2 different domains with a trust