Samlgroupsync module


About

When people log in to your site through SAML single sign-on (SSO), the Samlgroupsync module can add them to Kaltura groups automatically, based on the values your identity provider sends. You can then use those groups to control who can access your channels and categories, without managing group membership by hand.

The module works on Content Hubs and the legacy Video Portal. You can use the SAML values as group IDs and names, or map them to different group names in Kaltura.

Use this module only if your site uses SAML single sign-on without AuthBroker. If your site uses AuthBroker, don’t use this module.

Users with many groups may see a slower first login while their groups synchronize.

Before you start

This feature requires the Saml module to be enabled.

Configure

If your users also belong to groups in Events, set removeFromGroups to No. When it’s set to Yes, users are removed from their Events groups when they log in.

1. Go to your Configuration Management console, locate the Samlgroupsync module in the left panel, then select it. You can also navigate directly using a link: https://{your_site_url}/admin/config/tab/samlgroupsync

The Samlgroupsync page displays.

2. Configure the following:

  • enabled – Select Yes to enable the module. To add attributes, select Yes and then select Save first. Until you save, the attributes dropdown stays empty.
  • attributes – Define which SAML attributes contain the group values. Select + Add "attributes" to add an entry. A new section opens.

    Configure the following for each attribute:
    • attribute – Enter the SAML attribute name, for example, memberOf, roles, or groups. The name is case-sensitive and must match your identity provider’s response exactly. The attribute can contain more than one value.
    • valueMappingType – Choose how to convert the attribute’s values into Kaltura group IDs and names:

      • Use attribute’s value as group ID & name – Each value in the SAML attribute becomes both the group ID and the group name in Kaltura. For example, if the SAML attribute contains engineering, your site creates (or matches) a group with the ID engineering and the name engineering.
      • Map attribute’s value to a group ID & name – Lets you define custom mappings. A valueMapping section appears.

        Select +Add "valueMapping" to open another section.

        Complete the following:
        • value – Enter the exact SAML attribute value. The value is case-sensitive.
        • group – Enter the Kaltura group ID and name to assign when this value is received. Group names can’t contain spaces. Use an underscore or a hyphen instead.
        Your site checks these values at login and syncs the user to the matching groups.
  • removeFromGroups – Select Yes to remove users from groups that were previously synced and are no longer in the SAML response. Select No to only add users to groups.
  • createNewGroups – Select Yes to create Kaltura groups automatically from the SAML values. Select No to require that the groups already exist.
  • valid – Shows when the module configuration is valid.

3. Select Save.

If createNewGroups is set to Yes, a user’s first successful login creates the group. You can search for the group by name after the second successful login, for example, to add it to a channel.

Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted.

In this article
Related articles
Back to top