To setup IdP-Initiated SSO, go to the Enterprise Connections section of the dashboard and choose SAMLP Identity Provider. Under the Settings section you can see the configuration for IdP-Initiated SSO.
Default Client: When the IdP initiated login succeeds this is the client where users are routed. This setting shows available clients enabled for this connection. Select the client from the dropdown that you want the users to login with IdP initiated. Only one client can be selected for an IdP-initiated login per SAML connection.
Response Protocol: This is the protocol used to connect your selected Default Client. Most commonly clients are configured with the OpenID Connect protocol. However if you have configured a SAML2 Web App addon for your application and want to route the SAML assertion you will need to select SAML.
Query String: Query string options help to customise the behavior when the OpenID Connect protocol is used. You can set multiple options similar to setting parameters with a query string. You can set:
redirect_uri: When the IdP-initiated login has completed the request is then redirected to the first URL listed in the Allowed Callback URLs for the client. However if you set a
redirect_urithe IdP will redirect to this URL. This brings flexibility for cases like when you have set subdomain scheme with a wildcard and you only want to redirect to one specific subdomain.
scope: You could define scopes for the id token sent. Note that it is possible to set multiple scopes.
response_type: This field is used to set the token for Implicit Grant Flow for SPA applications. You could set code for Authorization Code Grant Flow for regular web applications.
Example Query String:
When using IdP-Initiated SSO, please make sure to include the
connection parameter in the post-back URL: