Thank you for the answer! That’s indeed works.
But during testing I found out another problem. I enabled connection1 for app1 and enabled connection2 for app2 (without enabling connection1 for app2 yet).
I logged in app1 successfully. Then I logged in app2 in the same browser. After that was logged out from app1. But I expected to stay logged in both apps.
I found this issue has already been reported Universal Login - multiple connections logs you out when logging in another connection .
Could you please provide solution on this case as well? Thanks in advance!