Loading

How to Configure a Custom Start Page and Logout Page for Salesforce Single Sign-On (SAML SSO)

Fecha de publicación: Apr 27, 2026
Descripción

In a single sign-on enabled org, it is possible to configure the landing page after logging in.

In a Salesforce org with Single Sign-On (SSO) enabled using SAML (Security Assertion Markup Language), administrators can configure custom landing pages that control where users are redirected after login and after logout.

Solución

Supported SSO URL Parameters

Salesforce supports three URL parameters for controlling login and logout redirection in SAML SSO configurations.
For SAML 1.1: These parameters must be URL-encoded (percent-encoded) because they are passed as query string values and may themselves contain URLs with special characters.
For SAML 2.0: These parameters are included as attributes inside the <AttributeStatement> element in the SAML assertion — URL encoding is not required.

Parameter Definitions

ParameterPurposeSAML Version
ssoStartPageURL of the IdP login page — where users go when accessing Salesforce without an active session1.1 and 2.0
startURLThe Salesforce page users land on after successful SSO authentication1.1 only
logoutURLThe page users are redirected to after clicking Logout in Salesforce1.1 and 2.0

Example: SAML 1.1 TARGET Field

The following is a sample TARGET field for SAML 1.1 that specifies all three parameters. The values are URL-encoded:
`<REDACTED>
Decoded values:

  • ssoStartPage: ` — the IdP's login page
  • startURL: /001/o — the Salesforce Accounts list view
  • logoutURL: `<REDACTED> — the default Salesforce homepage
Número del artículo de conocimiento

000386235

 
Cargando
Salesforce Help | Article