Define OrgAndUserGroups with Okta
You can add a user to one or many user groups in an organization in Okta spotinst application:
-
Make sure Okta SAML 2.0 authentication is configured with Spot.
-
Sign in to Okta Admin, go to Directory > Profile Editor, and select Spotinst User.
-
Click Add Attribute and add a custom attribute:
- Data Type: string
- Display Name: OrgAndUserGroups
- Variable Name: OrgAndUserGroups
-
Click Save.
-
In Okta Admin, go to Applications > Applications, and select Spotinst app.
-
On the Sign On tab, add this custom attribute under the SAML 2.0 settings:
- Attribute Name: OrgAndUserGroups
- Name Format: Unspecified
- Value: appuser.OrgAndUserGroups
-
Generate a new certificate and upload it to your Spot Organization.
-
Add users to groups:
-
For each user in your organization who needs to be assigned to groups, go to Okta Admin Directory > People.
-
On the Applications tab, locate the Spotinst app and click Edit to add the OrgAndUserGroups:
-
For a single user:
SPOTINST-{OrganizationID}:{UserGroupId}
For example:
SPOTINST-606012345678:ugr-1234
-
Multiple UserGroupIds for the same organization are separated with a comma:
SPOTINST-{OrganizationID}:{UserGroupId1},{UserGroupId2}
For example:
SPOTINST-606012345678:ugr-1234,ugr-5678
-
-