
JijoJ.53310 (Customer) asked a question.
I have multiple IWA in multiple location which cannot access by each other location, only same location client can be access their own IWA. Is there a way we can rout the traffic based on client IP, so that each client will authenticate their own location IWA.

Hi,
You can use the Global redirect feature of IWA where Okta detects that a user is seen to be on an internal registered IP address (i.e. to determine if the users on the internal network or not). Once that’s been detected (and you can register up multiple IP addresses and or ranges of addresses), the next thing is to direct the user to the right IIS web server where the Integrated Windows Authentication (IWA) module is running. We do this by a “Global Redirect”.
The information here describes the Global Redirect URL option for Desktop SSO. This feature allows untrusted domains to use Desktop SSO.
https://help.okta.com/en/prod/Content/Topics/Directory/Configuring_Desktop_SSO.htm
When “Use global redirect URL” is selected, Okta gives customers the flexibility to resolve and loadbalance Okta IWA servers. This flexibility allows untrusted domains to use Desktop SSO. In the screenshot above, I’ve configured a global redirect URL of http://oktadesktopsso.company.com, which is a nonexistent target. The customer shall create a CNAME DNS entry for this URL at each domain where there are IWA servers. Ideally, each domain will have multiple IWA servers installed, and the CNAME entry will point to a loadbalancer URL that fronts the IWA servers.As an example, consider the following scenario. Let’s say there are two untrusted domains: abc.com and xyz.com. Domain abc.com has agent1, agent2, and agent3. Domain xyz.com has agent4 and agent5. All agents and gateway IPs from abc.com and xyz.com are registered with Okta. When a user from abc.com hits Okta, Okta will redirect the user to http://oktadesktopsso.company.com. The DNS server/load balancer at abc.com will redirect to either agent1, agent2, or agent3. When a user from xyz.com hits Okta, Okta will redirect the user to http://oktadesktopsso.company.com. The DNS server/load balancer at xyz.com will redirect to either agent4 or agent5.