Step 0: Prerequisites
Expected you have already created an application for StoryChief inside Okta and have enabled SCIM provisioning inside the general settings.
Step 1: Creating the roles field
Creating users in StoryChief requires them to have a role.
We will be adding a role field to the StoryChief User Profile inside of Okta, so each time a user is assigned to the StoryChief app, you are able to set their role.
Navigate to Directory > Profile Editor > StoryChief User
β
On the Profile Editor, click "Add attribute"
β
Use the following values
β
Data type: string
Display name: StoryChief Role
Variable name: storychief_role
External name: roles.^[type=='primary'].value
External namespace: urn:ietf:params:scim:schemas:core:2.0:User
Enum: Yes, Define enumerated list of values
Attribute members: Owner - owner / Admin - admin / Writer -writer / Guest - guest / Client - client
βAttribute required: Yes
βAttribute type: Personal
β
β
β
Step 2: Mapping
On the StoryChief Profile Editor, choose "Mappings".
Now set the following mapping for Okta User to StoryChief.
We'll set a default value for new users to be "guest". Depending on your use-case you can set any other role here as a default value (or keep it empty).
You might see other possible mappings here, but those you can keep unmapped
Okta | StoryChief |
user.firstName | givenName |
user.lastName | familyName |
user.email | |
"guest" | storychief_role |