A claim mapping describes how the value of a specific user attribute in the IdP will be translated into a role in Torq when using single sign-on (SSO). For example, add a claim with the name groups that will assign each user in the IdP group engineers (claim value) the Contributor role in Torq.
Important
- Claims are applied in order. A user is assigned a role based on the first match found, while subsequent mappings are disregarded.
- The rank of the claim mapping determines its position in the ordered list of mappings, ranging from 1 to n. For example, given the claim mappings list [a, b, c, d, e], updating the rank of claim c to 2 would result in the updated list: [a, c, b, d, e].
Use the Torq public API to manage the claims mapping for a workspace.