In an IDP-initiated single sign-on flow, the IDP might supply a path to a specific resource (such as an embedded favorite) in the RelayState parameter of the request. When the sign-on successfully occurs, the application automatically directs to the URL specified in the RelayState parameter.
For example, the RelayState below specifies the path '/favourite/Embed/3140' - which identifies a particular favorite in Phocas.
When the user signs in successfully via a SAML request, they are automatically taken to the favorite, as shown below.