MongoDB - SAML Relying Party Configuration - RSA Ready Implementation Guide
2 years ago

This article describes how to integrate RSA with MongoDB using SAML Relying Party.

Configure RSA Cloud Authentication Service

Perform these steps to configure RSA Cloud Authentication Service as Relying Party to MongoDB.
Procedure
  1. Sign in to the RSA Cloud Administration Console.
  2. Navigate to the Authentication Clients menu, and from the dropdown, select Relying Parties.image.png
  3. In the Relying Party Catalog, select Add a Relying Party and click Add for Service Provider SAML.image.png
  4. On the Basic Information page, enter a name for the application in the Name field and click Next Step.image.png
  5. In the Authentication tab, select SecurID manages all authentication.
  6. Select Access Policy as required and click Next Step.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 Save and Finish.
  2. On the My Relying Parties page, click Edit dropdown and select Metadata option to download the metadata.image.png
  3. 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.image.png

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