This article addresses a common issue that can arise during the configuration of a Secure Assertion Markup Language (SAML) RelayState. Instead of being redirected to the intended RelayState, users find themselves redirected to https://{OktaOrg}/app/UserHome.
- Secure Assertion Markup Language (SAML) RelayState
- Trusted Origins Redirect
- Single Sign-On (SSO)
Configure the URL as a Trusted Origins Redirect. Follow these steps within the Okta Admin Console:
- Access the Okta Admin Console.
- Navigate to Security > API > Trusted Origins.
- Click Add origin.
- Specify the base URL of the website from which cross-origin requests should be allowed.
- Ensure that Redirect is selected as a Type.
- Click Save.
By correctly setting up the URL as a Trusted Origins Redirect, the SAML RelayState should now redirect users to the intended location.
