Skip to main content

Configure SAML SSO between Cisco Duo and Comeen Play

Updated over 2 weeks ago

Objective

This guide explains how to configure SAML 2.0 Single Sign-On (SSO) between Cisco Duo and Comeen Play.

This setup allows you to:

  • Enable secure SSO via Cisco Duo

  • Restrict access based on SAML attributes

Prerequisites:

Before starting the configuration:

  • You have administrator access to Cisco Duo.

  • The users who will access Comeen Play already exist in Cisco Duo.

  • These users also exist in Comeen Play with the same email address.

Step 1 - Create the SAML application in Cisco Duo

  1. Go to the Applications tab

  2. Click Add application

    image.png
  3. Select Generic SAML Service Provider – Single Sign-On

Once the application is created, locate it in the list of applications and open it to access the SAML configuration page.

This page contains the Identity Provider metadata required for the Comeen Play configuration. Keep this page open and proceed to the next step in a new tab.

Step 2 - Configure the Identity Provider in Comeen Play

  1. Go to Comeen Play → Settings

    image.png
  2. Click Authentication

    image.png
  3. In the SAML SSO section, enable Enable this authentication method.

    image.png
  4. Click Configure SAML

    image.png
  5. The SAML configuration window opens.

  6. In Cisco Duo, open the Generic SAML Service Provider – Single Sign-On application.

  • Copy the following values from Cisco Duo and paste them into the Comeen Play SAML configuration form:

    <a href="https://comeen.slite.com/api/files/iIszKOpOfcThdw/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiZkhDQlNsWTQ4eXNlU3AiLCJpYXQiOjE3NzMzMjM2MjgsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoibTk4UmRGSFJVYmlZME8iLCJleHAiOjE3NzU5MTU2Mjh9.CudMU2YRtSM0PMS_2VHkkubXIZeVgUks5AaTaMZzyFQ" target="_blank" rel="nofollow noopener noreferrer">https://comeen.slite.com/api/files/iIszKOpOfcThdw/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiZkhDQlNsWTQ4eXNlU3AiLCJpYXQiOjE3NzMzMjM2MjgsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoibTk4UmRGSFJVYmlZME8iLCJleHAiOjE3NzU5MTU2Mjh9.CudMU2YRtSM0PMS_2VHkkubXIZeVgUks5AaTaMZzyFQ</a>

Step 3 - Configure the Service Provider information in Cisco Duo

  1. In the Comeen Play SAML configuration window, copy the following values and paste them into the Service Provider section of the Cisco Duo application.

    image.png
  2. Once all the information have been entered, save the configuration in Cisco Duo and in Comeen Play

  3. Map the correspondence between the names of attributes in Comeen and Cisco and save.

Step 4 - Test the SSO login

  1. Open the Comeen Play login page.

  2. Start the login process.

  3. You are redirected to Cisco Duo.

  4. Authenticate with your Cisco Duo credentials.

After authentication, you are redirected back to Comeen Play.

Step 5 (optional) - Automatic Role & Group Synchronization

Comeen Play can automatically assign roles and groups to users based on SAML attributes.

When this feature is enabled:

  • Users are automatically assigned roles based on SAML attributes.

  • Users are automatically added to groups based on SAML attributes.

To enable this feature:

  1. Open the SAML configuration in Comeen Play.

  2. Go to User Attribute Synchronization.

  3. Enable Automatic role and group synchronization.

    image.png

1- Group Mapping

Group mapping allows Comeen Play to automatically add users to groups based on attributes received from the Identity Provider.

To configure group mapping:

  1. Go to the User Groups page in Comeen Play.

  2. Edit the group you want to map.

  3. Click Add Mapping.

  4. Enter the attribute name that will be received from the Identity Provider.

  5. Enter the attribute value required for the user to be added to the group.
    If the SAML attribute city contains Bordeaux, the user will automatically be added to the Bordeaux group in Comeen.
    ⚠ Attribute matching is case-sensitive.

    <a href="https://comeen.slite.com/api/files/2gu5ZcBOEnjIkB/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiZkhDQlNsWTQ4eXNlU3AiLCJpYXQiOjE3NzMzMjM2MjgsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoibTk4UmRGSFJVYmlZME8iLCJleHAiOjE3NzU5MTU2Mjh9.CudMU2YRtSM0PMS_2VHkkubXIZeVgUks5AaTaMZzyFQ" rel="nofollow noopener noreferrer" target="_blank">https://comeen.slite.com/api/files/2gu5ZcBOEnjIkB/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiZkhDQlNsWTQ4eXNlU3AiLCJpYXQiOjE3NzMzMjM2MjgsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoibTk4UmRGSFJVYmlZME8iLCJleHAiOjE3NzU5MTU2Mjh9.CudMU2YRtSM0PMS_2VHkkubXIZeVgUks5AaTaMZzyFQ</a>
  6. In the configuration page of the Generic SAML Service Provider application, go to the Map attributes section.
    Click +, and Enter the same attribute as configured in Comeen Play.

    <a href="https://comeen.slite.com/api/files/HwKgMT3oql12j9/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiZkhDQlNsWTQ4eXNlU3AiLCJpYXQiOjE3NzMzMjM2MjgsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoibTk4UmRGSFJVYmlZME8iLCJleHAiOjE3NzU5MTU2Mjh9.CudMU2YRtSM0PMS_2VHkkubXIZeVgUks5AaTaMZzyFQ" rel="nofollow noopener noreferrer" target="_blank">https://comeen.slite.com/api/files/HwKgMT3oql12j9/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiZkhDQlNsWTQ4eXNlU3AiLCJpYXQiOjE3NzMzMjM2MjgsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoibTk4UmRGSFJVYmlZME8iLCJleHAiOjE3NzU5MTU2Mjh9.CudMU2YRtSM0PMS_2VHkkubXIZeVgUks5AaTaMZzyFQ</a>

2- Role Mapping

  1. Go to the Roles page in Comeen Play.

  2. Edit the role you want to map.

  3. Click Add Mapping.

  4. Enter the attribute name that will be received from the Identity Provider.

  5. Enter the attribute value required for the user to be added to the role.

    <a href="https://comeen.slite.com/api/files/C-b3sAQLUkvOq7/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiZkhDQlNsWTQ4eXNlU3AiLCJpYXQiOjE3NzMzMjM2MjgsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoibTk4UmRGSFJVYmlZME8iLCJleHAiOjE3NzU5MTU2Mjh9.CudMU2YRtSM0PMS_2VHkkubXIZeVgUks5AaTaMZzyFQ" rel="nofollow noopener noreferrer" target="_blank">https://comeen.slite.com/api/files/C-b3sAQLUkvOq7/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiZkhDQlNsWTQ4eXNlU3AiLCJpYXQiOjE3NzMzMjM2MjgsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoibTk4UmRGSFJVYmlZME8iLCJleHAiOjE3NzU5MTU2Mjh9.CudMU2YRtSM0PMS_2VHkkubXIZeVgUks5AaTaMZzyFQ</a>
Did this answer your question?