PingIdentity SAML integration guide

This integration guide shows how to set up PingIndentity as a SAML single sign-on provider for your Redis Cloud account.

Redis Cloud

This guide shows how to configure PingIdentity as a SAML single sign-on identity provider (IdP) for your Redis Cloud account.

To learn more about Redis Cloud support for SAML, see SAML single sign-on.

Before completing this guide, you must verify ownership of any domains you want to associate with your SAML setup.

Step 1: Set up your identity provider (IdP)

Add the redisAccountMapping attribute

  1. Log in into your Ping Identity account. Open Administrators > Identities > User Attributes and select Add Attribute.

    PingOne User Attributes page with the Add Attribute button
  2. Select the DECLARED attribute type.

    PingOne attribute type selection with Declared selected
  3. Fill in the fields with the following values:

    • Name: redisAccountMapping
    • Display name: redisAccountMapping
    • Description: redisAccountMapping
    PingOne attribute form with the name, display name and description set to redisAccountMapping

    Select Save and Close. Then, verify that the attribute was created successfully.

    PingOne User Attributes list showing the new redisAccountMapping attribute

Add the user who will activate SAML in Service Manager (Redis Cloud)

  1. Go to Administrators > Identities > Users and select Add User.

    PingOne Users page with the Add User button
  2. Fill in the following information:

    • redisAccountMapping: {accountID}={role}

    accountID is the account ID from account settings and role represents the role that the user will be assigned in Redis Cloud console (owner, member, manager, billing_admin, or viewer):

    PingOne Add User form with the redisAccountMapping field set to 123456=owner circled

    Save and check that the user was added successfully.

Create the Ping Identity SAML application

  1. Go to Administrators > Connections > Applications and select + to add a new application.

    PingOne Applications page with the add application button
  2. Choose a name for the application, select SAML Application Type and select Configure.

    PingOne Add Application dialog with a name and the SAML Application type
  3. In the ACS URLs and Entity ID field add for now some dummy data, like https://example.com

    • This data will be updated with the correct data in a subsequent step.
    PingOne SAML Configuration with Manually Enter selected and the ACS URL and Entity ID fields circled

    Select Save.

  4. Go to the Configuration tab and save the following information:

    • Issuer ID
    • Single Logout Service
    • Single Signon Service

    This information will be needed once we configure SAML in the Redis Cloud console.

    • Select Download Metadata. An XML file will be downloaded. Open it and copy the certificate, which is required for the configuration in Redis Cloud console.
    PingOne application configuration with the Download Metadata button
  5. Go to the Attribute Mappings tab. Add the following attributes:

    • saml_subject
    • Email
    • FirstName
    • LastName
    • redisAccountMapping
    PingOne attribute mapping listing Email, FirstName, LastName and redisAccountMapping

Step 2: Configure SAML support in Redis Cloud

Now that we have our Ping Identity IdP server ready, we need to configure support for SAML in Redis Cloud.

Sign in to Redis Cloud

Sign in to your account on the Redis Cloud console.

Activate SAML in access management

To activate SAML, you must have a local user (or social sign-on user) with the owner role. If you have the correct permissions, you will see the Single Sign-On tab.

  1. Fill in the information you copied previously, including:

    • Issuer (IdP Entity ID): Issuer ID
    • IdP server URL: Single Signon Service
    • Single logout URL: Single Logout Service
    • Assertion signing certificate: Certificate info you copied from the Ping Identity XML file

    Also add:

    • Email domain binding: The domain used in your company's email addresses
    Redis Cloud Access Management Single Sign-On tab with the SAML setup form and Enable button

    Select Enable and wait a few seconds for the status to change.

  2. You will then be able to Download the service provider (SP) metadata. Save the file to your local hard disk.

    Redis Cloud panel for downloading the service provider (SP) metadata file
  3. Open the file in any text editor. Save the following text from the metadata:

    • EntityID: The unique name of the service provider (SP)
    Service provider metadata XML with the entityID value circled
    • Location: The location of the assertion consumer service
    Service provider metadata XML with the Assertion Consumer Service Location value circled

Step 3: Finish SAML configuration in Ping Identity

  1. In Ping Identity, go to Administrators > Connections > Applications and select your application name. Select the Configuration tab and select Edit.

    This is where we had entered mock data. We will now enter the correct data for this step:

    • Paste EntityID information in the Entity ID field.

    • Paste Location link in the ACS URLS field.

    • For the Sign on URL field, add URL https://cloud.redis.io/#/login/?idpId=, where you need to add the ID from the Reply URL ID, for example, https://cloud.redis.io/#/login/?idpId=0oa5pwatz2JfpfCb91d7.

    Select Save.

    PingOne attribute mapping with the Save button
  2. Select the slider to enable the app.

    PingOne application with the slider switched on to enable the app

Step 4: Return to Redis Cloud console

  1. Return to the Redis Cloud console and select Activate.

    Redis Cloud Activate SAML integration panel with the Activate button
  2. A popup appears, explaining that to test the SAML connection, you need to log in with credentials of a user defined in Ping Federate. Select Continue to go to the Ping Federate login screen.

  3. The Ping Federate login screen will appear. Enter the credentials and select Sign In.

    PingFederate sign-in screen shown when logging in to Redis Cloud with SAML

If everything is configured correctly, you will see the the Redis Cloud console screen. Your local account is now considered a SAML account.

To log in to the Redis Cloud console from now on, click on Sign in with SSO.

Sign in with SSO button

IdP-initiated SSO

https://cloud.redis.io/#/login/?idpId=

  1. In Ping Identity, go to Administrators > Connections > Applications and select your application name. Select the Configuration tab and select Edit.

  2. Go to Target Application URL and enter: https://{enviroment}/#/login/?idpId={idpId}, where idpId is the ID found in the Location field, after the last '/'

  3. Select Save.

    PingOne application settings with the Save button
  4. Go to https://apps.pingone.com/{environment}/myapps/#, where environment is the environment ID, found in Administrators -> Environment for your app.

    PingOne application portal listing the Redis Cloud app for IdP-initiated sign-in

    You are redirected to the Redis Cloud console.

RATE THIS PAGE
Back to top ↑