SSO Settings

Note

When you enter the SSO configuration, the unique identifier in the Name field is empty. The field is automatically populated with a unique identifier when you save the configuration for the first time. This identifier is used in the SSO URLs, so it is essential for the SSO process to function correctly.

Warning

The Admin Portal creates the SSO endpoints in up to 3 hours after saving the configuration. During this time, the SSO URLs will not be available, and you may encounter errors if you try to use them. Please allow some time for the SSO endpoints to be set up before testing your SSO configuration. All subsequent changes to the SSO configuration will take effect immediately, and there is no need to wait for the endpoints to be recreated.

The Single Sign-On configuration page is accessible from the User menu in the top right corner of the Admin Portal. To access it, click on your user avatar, then select “SSO Settings” from the dropdown menu.

The SSO configuration page will prompt you to enter the following information:

  • Name: The SSO configuration’s unique identifier.

  • Name ID Format: The format of the Name ID that will be used in the SSO process. The Admin Portal supports the following formats:

    • urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified

    • urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress

    • urn:oasis:names:tc:SAML:2.0:nameid-format:persistent

    • urn:oasis:names:tc:SAML:2.0:nameid-format:transient

  • Tenant key: (Optional) The name of the claim that will be used to identify the tenant in the SSO process. This claim should contain the tenant’s unique identifier.

  • Role key: The name of the claim that will be used to identify the user’s role to assign appropriate permissions in to the user account.

  • Metadata contents: The SSO metadata content provided by your identity provider. This typically includes information about the IdP, such as its entity ID, SSO URL, and certificate. Use this option if your identity provider does not support hosting the metadata at a URL, is not accessible from the internet, or if you prefer to enter it manually.

  • Metadata URL: The URL where the SSO metadata can be retrieved. If provided, the Admin Portal will fetch the metadata from this URL instead of using the manually entered metadata contents.

  • Domains: A comma-separated list of domains that are allowed to use SSO for authentication. This is used to restrict SSO access to users from specific domains.

  • Roles: A mapping of the roles defined in your identity provider to the roles used in the Admin Portal. This allows you to assign appropriate permissions to users based on their roles in the IdP.

  • Tenants Settings: A mapping of tenant identifiers from your identity provider to the tenant names used in the Admin Portal. This is used to associate users with the correct tenant based on the information provided by the IdP.

SSO Settings Page - General Settings

Example of the General Settings part of the SSO configuration page in the Admin Portal.

SSO Settings Page - Domains

Example of domains configuration on the SSO configuration page in the Admin Portal.

SSO Settings Page - Roles Mapping

Example of roles mapping configuration on the SSO configuration page in the Admin Portal.

SSO Settings Page - Tenants Settings

Example of tenants settings configuration on the SSO configuration page in the Admin Portal.

Admin Portal’s SSO URLs

When configuring your identity provider, you will need to provide the appropriate URLs for the SSO process. The Admin Portal uses the following URLs:

  • Authentication URL: https://login.whalebone.io/sso/<ssoid>/auth - This is the URL that users will access to initiate the SSO authentication process.

  • Metadata URL: https://login.whalebone.io/sso/<ssoid>/saml/metadata - This is the URL where the IdP can retrieve the SSO metadata.

  • Test URL: https://login.whalebone.io/sso/<ssoid>/test - This is the URL that can be used to test the SSO configuration. This URL displays the SAML response received from the IdP, which can be useful for troubleshooting and verifying that the SSO configuration is working correctly.

Note

The <ssoid> is a unique identifier for your SSO configuration, which you can find in the Admin Portal in the Name field after creating an SSO configuration.