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.
User Groups
Condens does not currently support Okta Push Groups through SCIM. However, Okta can assign provisioned users to existing Condens user groups by sending group names on the SCIM User object.
The user groups need to exist in Condens before Okta sends them. Condens matches the values sent by Okta with the names of Condens user groups.
To configure this in Okta:
In Okta, go to Directory > Profile Editor and open the Condens app profile.
Click Add Attribute.
Add an attribute for the Condens user group value you want to send:
Display name: Choose any name, for example "Condens Group"
Variable name: Choose any variable name, for example "condensGroup"
External name: groups.^[type=='condens_group'].value (Here 'condens_group' is an arbitrary technical label. It does not need to match an Okta
group, an Okta user attribute, or a Condens user group)
External namespace: urn:ietf:params:scim:schemas:core:2.0:User
Attribute type: Select Group if you want to set the value through Okta group assignments. Select Personal if you want to set it per assigned user.
Set the value of the attribute to the exact Condens user group name. You might need to use Okta expressions to map Okta user properties to match the exact group names from Condens
Notes
The value must match the Condens user group name exactly.
Condens matches by group name, not by Okta group ID.
Condens does not create, rename, or delete Condens user groups based on Okta group data.
Okta Push Groups and SCIM /Groups synchronization are not supported.
To remove a user from all Condens user groups, update the user in Condens. SCIM group assignment is intended for assigning one or more existing Condens user groups.
