I have configured Federated SSO with ADFS successfully. But we use sso on salesforce1 it will redirect to the full UI instead of the mobile UI. Salesforce document says we need to handle the relaystate in correct way. Can anyone knows how to handle the relaystate?

1 Answer 1


The RelayState parameter is defined here

The important thing to note is that it has now been changed as mentioned

When a service provider initiates login, the default RelayState is now /. In previous releases, the default RelayState was /home/home.jsp.

It is required that your IDP echoes this back correctly

Ensure your IdP is properly receiving the RelayState param AND correctly echoing the RelayState back per the SAML assertions (Request / Response)

You should be able to log/ check the value of this param on the IDP end.

  • Hi Gaurav, Can we set the RelayState in salesforce itself? Commented Sep 15, 2014 at 7:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .