Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Answer

A relay state is basically just a token to select a redirect target after successful authentication (i.e., after the SAML/consume URL is called).

The name of the relay state is arbitrary and can be anything (it should contain only letters, no whitespaces).

If a relay state is not found or none is declared, it uses the default target which is:

/classic/priceFxWeb.html?triggerLogin=true&username=USERNAME&partition=PARTITION

So you could set up states like:

localeDE : /classic/priceFxWeb.html?locale=de&triggerLogin=true&username=USERNAME&partition=PARTITION

localeEN: /classic/priceFxWeb.html?locale=en&triggerLogin=true&username=USERNAME&partition=PARTITION

Now you need to add the state name into the login process. Here it depends where it starts.

If you start off the sign-on URL, you just append it to the URL:

..../saml/signon?RelayState=localeDE

If it is IdP triggered, the IdP configuration needs to have that “RelayState=localeDE” in its consume URL.

  • No labels