I've configured a SAML2.0 IdP for Okta (i.e. Okta is SAML2.0 SP). After successful IdP initiated authentication via SAML, I want user to be redirected to a custom app. Therefore I configured the "Relay State" on Okta (SP) to https://mydomain/customApp/customPath. However, for security reasons, I think the user is not being redirected by the SP to an absolute URL but instead get's redirected to https://mycompany.okta.com/customApp/customPath (which is obviously not a valid URL). How do I have the user redirected to this URL after successful SAML auth? https://mydomain/customApp/customPath
This issue is now resolved using a bookmark app on Okta pointing to my custom app. Thanks Gabriel for your help!
This was selected as the best answer
Jatin, Assuming your custom app is a SAML app in your Okta, can we use Custom App's Sign On URL as the relay state? Should not this trigger the authenticated user to redirect to the Custom App's Sign On URL (also called as SSO URL) instead of showing him the Dashboard?