Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

System does'nt redirect to the URL that is passed in relayState

SA-47037

Summary



In IDP initiated SSO, on successful authentication from Pega it doesn't get redirected to the URL passed in the RelayState Parameter.


Error Messages



Not Applicable


Steps to Reproduce



1.Configure IDP initiated SSO for an environment.
2.Try to pass the redirect URL through RelayState param.

The system authenticates the user but does not redirect.


Root Cause



Relay state URL is passing is another application URL and having separate operators to login.

Resolution



Relay state URL must belong to the same application or any global site which does not require any operators to login.

Example URL :RelayState=http://google.com and this URL will pass as encoded URL in the browser otherwise Pega will not decode that. Same URL should present in RelayState URL's list in the IDP.

https://localhost:xxxx/openamtest/saml2/jsp/idpSSOInit.jsp?spEntityID=http://localhost:xxxx/prweb/sp/1511173183&metaAlias=/idp&RelayState=http%3A%2F%google.com

Published March 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us