Navigate to your organization’s settings page on Hugging Face.
Go to the SSO tab, then click on the SCIM sub-tab.
Copy the SCIM Tenant URL. You will need this for the Okta configuration.
Click Generate an access token. A new SCIM token will be generated. Copy this token immediately and store it securely, as you will not be able to see it again.
Step 2: Enter Admin Credentials
In Okta, go to Applications and select your Hugging Face app.
Go to the General tab and click Edit on App Settings
For the Provisioning option select SCIM, click Save
Go to the Provisioning tab and click Edit.
Enter the SCIM Tenant URL as the SCIM connector base URL.
Enter userName for Unique identifier field for users.
Select all necessary actions for Supported provisioning actions.
Select HTTP Header for Authentication Mode.
Enter the Access Token you generated as the Authorization Bearer Token.
Click Test Connector Configuration to verify the connection.
Save your changes.
Step 3: Configure Provisioning
In the Provisioning tab, click To App from the side nav.
Click Edit and check to Enable all the features you need, i.e. Create, Update, Delete Users.
Click Save at the bottom.
Step 4: Configure Attribute Mappings
While still in the Provisioning tab scroll down to Attribute Mappings section
The default attribute mappings often require adjustments for robust provisioning. We recommend using the following configuration. You can delete attributes that are not here:
Step 5: Assign Users or Groups
Visit the Assignments tab, click Assign
Click Assign to People or Assign to Groups
After finding the User or Group that needs to be assigned, click Assign next to their name
In the mapping modal the Username needs to be edited to comply with the following rules.
Only regular characters and `-` are accepted in the Username.
`--` (double dash) is forbidden.
`-` cannot start or end the name.
Digit-only names are not accepted.
Minimum length is 2 and maximum length is 42.
Username has to be unique within your org.
Scroll down and click Save and Go Back
Click Done
Confirm that users or groups are created, updated, or deactivated in your Hugging Face organization as expected.