So I got SSO setup from our network team for myapp2.com (not the real host name, obviously). I can confirm that when going to myapp2.com/SSO it just redirects to myapp1.com
I have logic in the app the reads the application URL and has logic that depends upon this URL. Is there any way to keep the second domain?
Also, I created a second IDP configuration in the SAML module for this new domain. Once I activated it (now having two active IDP configurations), The original url (myapp1.com) took users to a page with an error message that read "cannot validate SAML message".