User Roles
Using SCIM with Okta, it's possible to set the role of users directly from Okta.
In Okta, select the Condes SSO App under Directory > Profile Editor.
Click Add Attribute in the Attributes section to add the user roles mapping.
Fill out the form so that it reflects the below settings.
Display name: Condens Role (can be anything)
Variable Name: pick the variable name you want to use
External Name: roles.^[primary==true].value
External Namespace: urn:ietf:params:scim:schemas:core:2.0:User
Enum: Yes
Enter the Condens roles as attribute members. Make sure the value is exactly as below and lower-case.
Display name: Admin, Value: admin
Display name: Contributor, Value: contributor
Display name: Limited Access Contributor, Value: limited_access_contributor
Display name: Full Access Viewer, Value: full_access_viewer
Display name: Viewer, Value: viewer
Display name: Non-Research Admin, Value: admin#nonresearch

In March 2025, Condens changed the names of some roles. For SCIM connections set up before that date, the old Condens role names (researcher, full_access_stakeholder, stakeholder) still work and are mapped to the new names (contributor, full_access_viewer, viewer):
Attribute length: you can leave that empty
Attribute requires: Yes
Attribute type: Select this depending on your setup and preferences

Then click "Save"
Once this is done, you can assign a user role to each user during the application assignment, either directly or via mapping.
