Role mapping is not configured
When attempting to log in through the identity federation, the following message is displayed:
Forbidden: role mapping misconfiguration: mapping is not configured for any of the IdP groups: [group1, group2]
The error occurs if role mapping between groups in the identity provider (IdP) and in the VK Cloud identity federation is not configured. The roles of at least one group in the IdP must be mapped to roles in the federation group.
-
Go to your VK Cloud account.
-
Go to the Identity Federation section.
-
Go to the Groups tab.
-
Click the name of the project for which the identity federation is being configured.
-
Add the groups that you use in your IdP:
-
Click the Add button. If there are already created groups on the page, click the Add group button.
-
Configure the group:
-
Group name: specify the group name. The name of the group being created must match the group name in your IdP, but it must be in lowercase.
-
Permissions:
- Select Project to link the group and roles within a single project. In different projects, you can link the same group to different roles, which allows you to differentiate the federated user's level of access to projects.
- Select Domain to link the group and roles in all projects of a single owner and provide the federated user with a unified level of access to them. The Domain permission is available only to the project owner.
-
Group roles: select the VK Cloud roles that correspond to your access matrix for the group being created.
-
-
Click the Add button.
-
If the problem persists, contact technical support.
-