Matomo - SAML Relying Party Configuration - SecurID Access Implementation Guide
2 years ago
Originally Published: 2021-08-24

Matomo - SAML Relying Party Configuration - SecurID Access Implementation Guide

This section describes how to integrate SecurID Access with matomo using Relying Party. Relying party uses SAML 2.0 to integrate SecurID Access as a SAML Identity Provider (IdP) to matomo SAML Service Provider (SP).

Architecture Diagram

Admin_Dharani_0-1629833668726.png

 

Configure SecurID Access Cloud Authentication Service

Perform these steps to configure Cloud Authentication Service as a relying party SAML IdP to matomo .

Procedure

  1. Sign into the Cloud Administration Console and browse to Authentication Clients > Relying Parties and click Add a Relying Party.

    Admin_Dharani_1-1629833709867.png

     

    Admin_Dharani_2-1629833755702.png

     

  2. On Basic Information page enter a Name for the application, ie. matomo Then click on Next Step.

  3. On Authentication page

    1. select the RSA SecurID Access manages all authentication

    2. Select the desired Primary Authentication Method from the dropdown list.

    3. Select the desired policy from the Access Policy for Additional Authentication.

    4. Click Next Step

      Admin_Dharani_3-1629833873817.png

       

  4. On Connection Profile page

    1. Enter the Assertion Consumer Service (ACS) From the matomo configuration below for ACS URL For example: https://rsatest.matomo.cloud/index.php?module=LoginSaml&action=assertionConsumerService.

    2. Enter the Service Provider Entity ID From the matomo configuration below for Entity Id. For example: https://rsatest.matomo.cloud/index.php?module=LoginSaml&action=metadata.

    3. Open Advanced Configuration section.

    4. Add Attribute Name = email and Property = mail
    5. Add Attribute Name = firstName and Property = givenName. Note this attribute is used to map the username in matomo.
    6. Note above Property values may vary based on configuration.
    7. Note the Entity ID for the Identity Provider. This will be needed for the matomo configuration below.
    8. Click on Save and Finish

      Admin_Dharani_4-1629833911854.png

       

  5. Browse to Authentication Clients > Relying Parties

  6. Scroll down to the your newly created Relying party and click down error next to Edit and choose View or Download IdP MetatData and download the Metadata File.

    Admin_Dharani_5-1629833941535.png

     

  7. Click on Publish Changes. Your application is now enabled for SSO. If you make any additional changes to the application configuration you will need to republish.

    Admin_Dharani_6-1629833967770.png

     

 

Configure matomo

Perform these steps to integrate matomo with SecurID Access as a Relying Party SAML SP.

Procedure

  1. Sign into matomo and browse to Settings > SystemSAML.

  2. Select Access to SP metadata.

  3. Note the Entity Id and ACS URL these are used above in the Cloud Authenitcation Service (CAS) configuration above.

  4. Go to the Identity Provider Settings Section

    1. For the Single Sign on URL enter the Enity ID from the SecurID Access configuration above. For example, https://rsa-test-pe.auth-demo.securid.com/saml-fe/sso.

  5. For the Entity ID enter the Entity ID from the configuration above. For example, https://rsa-test-pe.auth-demo.securid.com/saml-fe/sso.
  6. For the X.509 Certificate use the contents of the metadata XML file downloaded above and copy the X.509 certification information between the tags <ds:X509Certificate></ds:X509Certificate> and paste it in the IDP Certificate field.
  7. In the Options Settings, in the field to identify the user, choose email and click on Save.
  8. In the Attribute Mapping Settings, enter the login(user name) and Email you created in the Attribute Extensions for the Cloud Authenitcation Service (CAS) configuration above. For example, firstName and email.
  1. Save changes.

Configuration is complete.

Next Step: See main page for more certification information.