MongoDB - SAML My Page SSO Configuration - RSA Ready Implementation Guide
2 years ago
This article describes how to integrate MongoDB with RSA Cloud Authentication Service using My Page SSO.

Configure RSA Cloud Authentication Service

Perform these steps to configure RSA Cloud Authentication Service using My Page SSO.
Procedure
  1. Sign in to the RSA Cloud Administration Console with administrator credentials.
  2. Enable SSO on the My Page portal by accessing the RSA Cloud Administration Console > Access My Page > Single Sign-On (SSO). Ensure it is enabled and protected by two-factor authentication using a Password and Access Policy.image.png
  3. On the Applications > Application Catalog page, click on Create From Template.image.png
  4. On the Choose Connector Template page, click Select for SAML Direct.image.png
  5. On the Basic Information page, enter a name for the configuration in the Name field and click Next Step.image.png
  6. In the Connection Profile section, select IdP-initiated option.image.png
  7. To provide Service Provider details, select Import Metadata, click the Choose File button, and select the file downloaded from the Service Provider.image.png
Refer to the MongoDB configuration section to obtain metadata file.
  1. Assertion Consumer Service (ACS) URL and Service Provider Entity ID values will be auto filled.image.png
  2. In the SAML Response Protection section, select IdP signs assertion within response, and download the certificate by clicking Download Certificate.image.png
  3. Under the User Identity section, select Show Advanced Configuration, then configure Identifier Type and Property as follows: 
    1. Identifier Type: Auto Detect 
    2. Property: Auto Detect
image.png
  1. Under the Statement Attribute section, add the following attributes:
    1. First Attribute:
      1. Attribute Name: firstName
      2. Attribute Source: Identity Source
      3. Property: givenName
    2. Second Attribute:
      1. Attribute Name: lastName
      2. Attribute Source: Identity Source
      3. Property: sn
image.png
  1. Click Next Step.
  2. Choose your desired Access Policy for this application and click Next Step > Save and Finish.image.png
  3. On the My Applications page, click the Edit dropdown and select Export Metadata to download the metadata.image.png
  4. Click Publish Changes to save your settings. After publishing, your application will be enabled for SSO.image.pngimage.png
 

Configure MongoDB

Perform these steps to configure MongoDB.
Procedure
  1. Log in to MongoDB as the organization owner.
  2. Click on Settings.
image.png
  1. Under Federated Authentication Settings, click Open Federation Management App.image.png
  2. Click Domains and select Add Domain.
image.png
  1. Provide a Display Name and Domain Name, select DNS Record to verify your domain, and click Continue. Follow the on-screen instructions.image.png
  2. Click VERIFY to verify your domain.
image.png
  • The domain Status will be updated to VERIFIED.
image.png
  1. Click Identity Providers and select Set Up Identity Providers.
image.png
  1. Select Workforce Identity Federation and click Continue.
image.png
  1. Provide a Configuration Name.
image.png
  1. Enter the following details:
    1. Issuer URI: The value of entityID, obtainable form the metadata file downloaded from the RSA platform.
    2.  Single Sign-On URL: The value of SingleSignOnService, Obtainable from the metadata file download form the RSA platform
    3. Click Choose File and upload the certificate downloaded from the RSA platform.
image.png
  1. Click Continue.
image.png
  1. Click Download metadata. This will be used for configuring the RSA platform.image.png
  2. Click Save and Finish.
image.png
  1. Click ASSOCIATE DOMAINS.
image.png
  1. Check the checkbox for the domain you verified and click Submit.image.png
  2. Click the Manage dropdown and select Activate Identity Provider to activate the provider.

The configuration is complete.
Return to MongoDB - RSA Ready Implementation Guide