Configuring SAML with IdP initiated login
You can configure SAML with identity provider (IdP) initiated login to use the IdPs for the SAML single sign-on (SSO) configuration.
You can configure SAML with IdP initiated login with one of the following methods:
- Configuring SAML with IdP initiated login using the your product console
- Configuring SAML with IdP initiated login using the IdP V3 API
Before you begin
To configure SAML with IdP initiated login, you need to set the Relay State
parameter with the URL in the IdP side to redirect the users after successful authentication.
If the Relay State
parameter is not configured in the IdP side, the following error is displayed in the login page:
500: The SAML login attempt failed. This failure could indicate that the SAML identity provider has been misconfigured. If this is an IDP initiated SAML provider, verify that the relay state parameter is set.
To resolve the issue, see SAML login fails when you configure SAML with IdP initiated login.
Configuring SAML with IdP initiated login using the your product console
To configure SAML with IdP initiated login, complete the following steps:
-
Login to the console as an administrator.
-
Click Administer > Identity providers in the navigation menu.
-
Click Create Connection. Select SAML 2.0 as the protocol type and click Next. The New SAML Connection page is displayed.
-
Select the Connection details tab in the New SAML Connection page. You need to fill the following parameters:
-
Name
: A name for the SAML connection. -
Description
: Description of the SAML connection.
-
-
Enable Identity Provider initiated login toggle option.
-
Enter the IdP SSO url from the IdP side in the Identity provider initiated login section.
-
Select the Token attribute-mapping tab. It contains the following options that you are required to fill:
Subject
Given name
Family name
Groups
Email
See the following notes:
-
By default, the Token attribute-mapping values are pre-defined if you do not specify the mapping. It is recommended to modify the default values according to the SAML claim. The following default values are displayed if you do not specify the mapping values:
Subject
: uidGiven name
: firstNameFamily name
: lastNameGroups
: blueGroupsEmail
: emailAddress
-
The
uniqueSecurityName
option is not supported from the product console. If theuniqueSecurityName
is required in Token attribute mapping, see Different schema elements for IdP V3.
-
Select To identity provider tab. Click Download metadata link to download the SAML 2.0 metadata. Once you download the metadata, you can upload that metadata to your identity provider to generate identity provider metadata.
-
Select From identity provider tab. Upload the identity provider metadata in
*.xml
file that is supplied by your identity provider. -
The SCIM configuration tab is enabled when you choose to configure SAML with SCIM dependency. It contains the following fields:
Scim base path
: https://bedrock-iam.verify.ibm.com/v2.0/Grant type
: client_credentialsToken URL
: https://bedrock-iam.verify.ibm.com/v1.0/endpoint/default/tokenClient ID
: Enter the client ID of the IBM Security VerifyClient Secret
: Enter the client secret of the IBM Security Verify
Also, you need to configure the SCIM attribute mapping for the
user
andgroup
resources. By default, these fields are pre-defined as theprincipalName
in bothuser
andgroup
attributes. It is recommended to modify the values based on the SCIM IdP configuration. -
Click Create.
Configuring SAML with IdP initiated login using the IdP V3 API
Register the IdP V3 to configure SAML with IdP initiated login. For more information, see SAML with IdP initiated login.