Comparison of user groups
If you are using federations and you have user groups on the credential provider side, you can configure group mappings to integrate them into Servercore user groups.
Principle of operation
Users in the mapped credential provider group will be added to the Servercore group automatically the first time they authenticate. Users will be assigned the permissions that you specify for the Servercore user group when setting up group mapping.
If permissions or user data have changed on the credential provider side, the changes will be applied to Servercore when re-authenticating.
You can map a single Servercore user group to a single credential provider group. You cannot map a Servercore group to multiple credential providers or vice versa.
Customize group mapping
- Create user groups.
- Add group mapping.
- Configure mappings on the credential provider side.
- Add users to the group on the credential provider side.
1. Create user groups
-
Make sure you have a user group on the credential provider side.
-
If you already have a user group on the Servercore side and you want to use it for mapping, you do not need to create a new group.If there is no group or you want to use a new one:
2.1 Add a user group.
2. Add group mapping
-
In the control panel, on the top menu, click Account.
-
Go to the Federations section.
-
Open the Federation page → Group Matching tab.
-
Click Match Groups.
-
In the Related Groups block:
5.1 Select the Servercore Group you created in step 1 or earlier.
5.2 Enter the name of the credential provider group.
-
Optional: To add another group mapping, click Add Mapping and follow step 5.
-
Click Save Settings.
3. Configure mappings on the credential provider side
Keycloak
AD FS
-
In the Keycloak control panel, log in to the Administration Console.
-
Go to Client scopes → Setup tab.
-
Select the Client scope, which is specified in the format
<client_id>-dedicated. Here<client_id>is the URL you specified when configuring the SAML application in the Client ID field. -
Configure user group mapping:
4.1 On the Mappers tab, click Add mapper → By configuration → Group list.
4.2 In the Name field, enter a name for the mapping.
4.3 In the Group attribute names field, type groups.
4.4 Turn on the Single Group Attribute toggle switch.
4.5. Turn off the Full group path toggle switch.
4.6 Click Save.
-
Configure mapping of user email addresses:
5.1 On the Mappers tab, click Add mapper → From predefined mappers → x500 email.
5.2 Open the x500 email mapping page.
5.3 In the SAML Attribute Name field, enter email.
5.4 Click Save.
-
Configure user name mapping:
6.1 On the Mappers tab, click Add mapper → From predefined mappers → x500 givenName.
6.2 Open the x500 givenName mapping page.
6.3 In the SAML Attribute Name field, enter firstName.
6.4 Click Save.
-
Customize the mapping of user last names:
7.1 On the Mappers tab, click Add mapper → From predefined mappers → x500 lastName.
7.2 Open the x500 lastName mapping page.
7.3 In the SAML Attribute Name field, enter lastName.
7.4 Click Save.
4. Add users to the group on the credential provider side
Keycloak
AD FS
- In the Keycloak control panel, go to the Users section.
- Open the user page → Groups tab.
- Click Join Group.
- Check the group to which you want to add the user.
Disable group mapping
After disabling group mapping, users will no longer be able to authenticate to the dashboard by SSO.
You can re-enable group mapping at any time.
- In the control panel, on the top menu, click Account.
- Go to the Federations section.
- Open the Federation page → Group Matching tab.
- In the Settings Enabled block, turn off the toggle switch.
Delete group mapping
After group mapping is removed, users in the credential provider group will no longer be able to authenticate to the dashboard by SSO.
If users are added to another Servercore group for which a mapping is configured, they will still have access within that mapping.
- In the control panel, on the top menu, click Account.
- Go to the Federations section.
- Open the Federation page → Group Matching tab.
- In the Matched Groups block, in the mapping row, click .
- Click Save Settings.