Hi,
We have an OnPrem infrastructure and OutSystems Built-In Authentication Mode.
We devide our infra to 2 server zones
Assume that we had 3 apps - Common, Product1 and Product2 that was on two servers - Server1 and Server2
Now we devide that Common app will be in Global zone on S1 and S2 servers and
Prod1 on S1 and Prod2 on S2 servers.
After dividing them, we get the problem, that
Suppose User A enters his application through the Prod1(S1 server) , and he immediately goes to the LoginPage.
Then he goes through Authentication, does some work, and can click on a link that will send him to the Application Prod2, which is in a different server group.
At this moment, when the user goes to another server(S2), Authentication is requested from him again and sents him to LoginPage. Although we shouldn't.
How to make it so that the user is asked for authentication only the first time when logging in, and then he goes through the loop without authentication?
For Examle, if I add new app Prod 3 on S1 server zone, then he will go from Prod1 to Prod3 without second Authentication.
Not sure what you mean by zones, do you mean deployment zones? Because if the applications use the same user provider, the session should be shared between these environments.
Except when the different zones have different URL's.
To solve this, you can use some kind of single sign on mechanism. If your users are in the Azure AD, you can connect all these apps in the different zones to the same single sign on provider. When switching apps, the session at Microsoft should still exist, and although technically the user will be re-logged in into OutSystems automatically, it will appear seamless to the user itself.