This guide walks you through setting up SCIM provisioning with Okta for your Sketch Workspace. If you need help along the way, contact us and we’ll help you out.
Already use Okta for SSO? You’ll need to create a new custom app to enable SCIM. The Gallery app doesn’t support SCIM provisioning.
1. Create a custom Okta app
Sign in to your Okta account and open the Admin console. Make sure you can create and configure applications and groups.
- On the left sidebar, click Applications > Applications > Create App Integration.
- Select SAML 2.0 from the list.
- Name your app.
Configure SAML SSO
On the next screen, you’ll need to provide the SAML SSO configuration data from the web app.
- Paste your Workspace ACS URL in the Single sign-on URL field.
-
Paste your Workspace Entity ID in the Audience URI field.
To get these values, sign in to the web app as an Admin and go to Settings > Single Sign-on.
- Leave the rest of the form with the default values and click Next.
You’ll see an additional step where Okta asks you to provide data on how you configured the app. This step is optional — you can skip it.
Add SAML attribute statements
After you create the custom app, open the Sign On tab and scroll to Attribute Statements. Click Add expression, then add the following:
- Email
- Name:
email - Expression:
user.profile.email
- Name:
- First Name
- Name:
first_name - Expression:
user.profile.firstName
- Name:
- Surname
- Name:
surname - Expression:
user.profile.lastName
- Name:
Upload the XML metadata file to your Workspace
- Scroll down to the SAML Signing Certificates section.
- Click Actions for the active certificate.
- Click View IdP metadata.
- Press ⌘S to save the XML file (IdP metadata).
Switch back to the web app and upload the downloaded XML file.
For more details on uploading metadata, see our finishing SSO setup documentation.
2. Configure SCIM
Activate SCIM
- Go to the General tab and click Edit in the App Settings section.
- Select SCIM in the Provisioning section.
- Click Save.
Configure provisioning
To connect Okta to your Sketch Workspace, you’ll first need to enable SCIM and collect a few values:
- Open the web app and go to Settings > Single Sign-on.
- Click Enable SCIM.
- Have the SCIM Base URL and the SCIM token ready.
Switch to your Okta custom SCIM app:
- Open the Provisioning tab.
- Click Edit.
- Paste the SCIM Base URL from the web app in the SCIM connector base URL field in Okta.
- Type
userNamein the Unique identifier field for users. - Select HTTP header in Authentication Mode and paste the SCIM token in the Bearer field.
- Click Test Connector Configuration.
- Click Save if your connection test is successful.
Create assignment groups
Create two groups to control which access level users get in your Sketch Workspace: editors or viewers.
- Go to Directory > Groups and click Add group.
- Name the group. Use a descriptive name, like
Sketch-editorsorSketch-viewers. - Add users to each group.
Create a custom attribute
You’ll need a custom attribute to control whether users are provisioned as Editors or Viewers in your Sketch Workspace.
- Go to Applications and select your Sketch SCIM app.
- Go to Provisioning > To App.
- Scroll down to the attribute list and click Go to Profile Editor.
- Click +Add Attribute.
Fill in these fields:
- Data type: String
- Display name: Sketch Access Level
- Variable name:
accessLevel - External name: Okta sets this automatically to
accessLevel - External namespace:
urn:ietf:params:scim:schemas:extension:sketch:1.0:User - Description: optional
- Enum: Check this and add two values:
- Display name:
Editor; Value:editor - Display name:
Viewer; Value:viewer
- Display name:
- Attribute required: No
- Attribute type: Group
Click Save to create the new attribute.
3. Activate provisioning
Activate provisioning before adding groups or users:
- Click on the Provisioning tab.
- Click Edit on the To App section.
- Enable the following actions:
- Create Users
- Update User Attributes
- Deactivate Users
- Click Save.
Assign the groups to start syncing users
The last step is assigning groups to the custom app. This triggers user sync to create, update, or delete users in your Workspace.
- Open your custom SCIM/SSO app.
- Click on the Assignments tab.
- Click Assign > Assign to Groups.
- Select one of the groups and click Assign.
- Scroll to the bottom and set the access level that matches the group (editor or viewer).
- Repeat the same steps for the other group, so both groups are assigned to your app.
Considerations
- If you reach your Editor seat limit, Okta will still provision the user, but we’ll add them as a Viewer to avoid unwanted extra charges.
- If you disable a user in Okta, they’ll be deleted from the Workspace. Any documents in their My Drafts folder will move to a restricted folder that Workspace Admins can access.
Existing Okta SSO configuration
If you already use Okta for SSO, you’ll need to deactivate and delete the Gallery app, then create a new custom app to enable SCIM. The Gallery app doesn’t support SCIM provisioning.
Deleting the Gallery app won’t affect existing users or their documents. You don’t need to make any changes in your Sketch Workspace — Okta handles everything.
Deactivate the Gallery app
Ask users to sign out of their accounts and quit the Mac app before you deactivate the Gallery app. Once SCIM configuration is complete, they can sign in again with the same credentials.
- Sign in to your Okta account and open the Admin console.
- Go to Applications > Applications and find the Sketch SSO gallery app in the list.
- Deactivate the app. You need to deactivate it first, then delete it.
Once you’ve deleted the Gallery app, go back to step 1 to create the custom app and set up SCIM.