Learn how to create and map custom attributes as a part of user provisioning to the Staffbase platform using SCIM.
In this article, you will learn how to create and map custom attributes to provision users from your identity provider to the Staffbase platform using
You can define the SCIM schema for user attributes and extend it with custom attributes. These custom attributes can be specific for your Staffbase platform users.
For example, you can create additional custom profile fields to record the skills of your users in the Staffbase platform. If you want to automatically provision values to a custom profile field using SCIM, do the following:
The schema for creating the custom attributes is urn:ietf:params:scim:schemas:extension:{{CompanyName}}:2.0:User:{{CustomAttribute}}
, you need to input the values within {{ }}
.
Here, CompanyName
is the name of your company and CustomAttribute
is the name you want to give the new custom attribute that you want to create.
If your CompanyName
is showcase
and the custom attribute you want to create is skill set
.
The schema will look like this: urn:ietf:params:scim:schemas:extension:showcase:2.0:User:skillset
.
The schema for creating custom attributes is the same for all Staffbase supported identity providers. Learn more about the identity providers that Staffbase supports.
Here, you will learn how to create custom attributes in Entra ID (formerly known as Azure Active Directory / Azure AD). Before that you need to have already configured the default mapping in Entra ID. Learn more here.
Learn more about provisioning of a custom extension attribute to a SCIM compliant application with Entra ID.
For example, if your organization name is showcase
and custom attribute is skillset
, the schema will look like this: urn:ietf:params:scim:schemas:extension:showcase:2.0:User:skillset
.
jobTitle
if you want to map the custom attribute to this source attribute.If the custom attribute you added is not displayed, try refreshing the page.
Now you can give the custom attribute schema you created to the Staffbase administrator, who will configure the custom profile field. Learn more here.
In our example, the custom attribute schema looks like this: urn:ietf:params:scim:schemas:extension:showcase:2.0:User:skillset
After the custom profile field in the Staffbase Studio is configured with the custom attribute, the custom attribute may not get provisioned the first time you provision users. You might want to test it with on-demand provisioning to ensure it works as expected.