These instructions explain how IT admins can set up SCIM user provisioning for their team. For more information about SCIM user provisioning, see this article.
Limitations:
- Admins cannot be managed via SCIM. If a user is provisioned via SCIM and then promoted to an admin, it will no longer be possible to manage that user via SCIM.
- Existing accounts that aren't associated with your organization cannot be imported into your organization during SCIM provisioning.
- Email update operations cannot be completed if used with the Email NameID policy format. This only applies to SSO configurations using SAML.
Prerequisites
- Admin access to DeepL
- Remove JIT group synchronization and groups if it was enabled in a previous setup. Follow the instructions in this article.
- SSO is set up for DeepL with either SAML or OpenID Connect (OIDC). If you use OIDC, follow the steps under Add SCIM without migrating to a new application
Set the SCIM configuration in OneLogin
We recommend creating a new SCIM Provisioner with SAML (SCIM v2 Core) application that handles both SSO and provisioning. If you want to enable SCIM without migrating to a new application by adding a separate, provisioning-only application, see Add SCIM without migrating to a new application.
Create the application
- In the OneLogin administration panel, go to the applications panel and click Add App
- Search for and select the application named SCIM Provisioner with SAML (SCIM v2 Core)
- Click Save
Configure the connection
- Go to the Configuration tab
-
In the SAML Audience URL field, enter the following:
https://w.deepl.com/auth/realms/prod
-
In the SAML Consumer URL field, enter the following:
https://w.deepl.com/auth/realms/prod/broker/{your-sso-subdomain}/endpointReplace
{your-sso-subdomain}with the domain name that you provided when configuring SSO on the DeepL SSO settings page. For more information, see this article. - In the SCIM Base URL field, enter
https://scim.deepl.com - Enter the following under Custom Headers:
Content-Type: application/scim+json -
In the SCIM JSON Template field, enter the following template:
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "userName": "{$parameters.scimusername}", "name": { "formatted": "{$user.display_name}" }, "externalId": "{$parameters.externalId}", "active": "{$user.status}" }Although not required, it is recommended that you use theexternalIDfield, since DeepL stores it as a stable provider-side correlation identifier for consistent identity correlation. - Click Save
Enable provisioning
This step is required. Otherwise, Include in User Provisioning will not be available on the Parameters tab. Complete this step before configuring the parameters.
- Go to the Provisioning tab
- Select Enable provisioning
- For now, ensure that admin approval is required for all operations. This allows you to test the connection with one or two users and groups before provisioning runs automatically.
-
Click Save
Configure the parameters
Create all the parameters in this section. The SCIM JSON template uses the scimusername and externalId parameters, so these are required when using the SCIM JSON template.
externalID field, since DeepL stores it as a stable provider-side correlation identifier for consistent identity correlation.- Go to the Parameters tab
- Click the Groups field, select Include in User Provisioning, and click Save
- Click the
NameIDfield and set the value to OneLogin ID - Click the
scimusernameand set the value to Email - Click the plus icon to create a new parameter. Set the field name to
firstName, select Include in SAML assertion, and click Save. Set the value to First Name and click Save. - Repeat the previous step to create the following parameters:
-
lastNamewith the value Last Name -
emailwith the value Email -
externalIdwith the value OneLogin ID
-
- Click Save.
Add a group mapping rule
- Go to the Rules page
- Click Add Rule
- In the Name field, enter a name for the rule. We recommend Role to Groups.
- Leave the Conditions field empty
- Under Actions, set the first dropdown menu to Set Groups in <application name>, and select Map from OneLogin in the radio button menu
-
Set the next dropdown menu to role. In the text box, enter a regular expression to filter role assignments to those relevant to DeepL. For example, enter
DeepL.*to match roles starting with DeepL, or.*to match all roles.Regular expressions are case sensitive. When using the regular expression.*, all roles created in OneLogin are mapped to DeepL and they'll appear as groups in your DeepL account. - Click Save, then save the application
Set the signature algorithm
- Go to the SSO page
- Change the signature algorithm to SHA-256
- Click Save
Assign access
- Go to the Access page
- Select the roles that should be given access to DeepL
- Click Save
Get Metadata URL
- Select SSO from the left side menu
- Copy the metadata URL from the Issuer URL field and use it to continue setting the SSO configuration in your DeepL admin account. For more information, see Set the SSO configuration in DeepL account.
- Check if SHA-256 or SHA-512 is selected under SAML Signature Algorithm
- Save the changes
Set the SSO configuration in DeepL account
- Go to the Settings tab in your DeepL admin account.
Under Team and Single sign-on the SSO domain has the status Domain name approved. - Click Set up SSO next to Single sign-on.
In the Set up SSO form, select SAML as the Authentication type - Select Import from URL and paste the Metadata URL from OneLogin. For more information, see Get Metadata URL.
- Set the NameID policy format to Persistent
- Enter the following
- Assertion attribute: First name = firstName
- Assertion attribute: Last name = lastName
- Assertion attribute: Email address = email
Enable SCIM in DeepL account
- Go to the Settings of your DeepL account
- In the Team and User provisioning configuration section, click Manage user provisioning
-
Select Enable SCIM provisioning.
An SCIM admin API key will be created. You will need this API key for your OneLogin configuration.If you've previously set up JIT group synchronization, make sure to disable it to avoid any user provisioning issues. Before disabling JIT group synchronization, export your existing groups and users. - Go to your OneLogin SCIM application
- Go to the Configuration page
- In the SCIM Bearer Token field, enter your SCIM API key. You will find your SCIM API key in your DeepL admin account under Admin keys. For more information, see this article
- Click Save
Test provisioning
- Go to the Configuration page and click Enable under API Connection.
OneLogin will now collect users and roles, but will not provision them without admin approval. - Test the connection with one or two users and groups
- Once you've tested the connection, go to the Provisioning tab. Under Require admin approval before this action is performed, clear the operations that no longer require approval, and click Save.
Keep the following in mind when testing:
- OneLogin asks for approval twice for users who already exist in DeepL: first to match the user and then to update the user.
- Groups that a mapping rule sets do not appear in the user's Groups list in OneLogin. Check the groups in the Groups tab of your DeepL admin account.
- If you use OpenID Connect for SSO and have a second app for SCIM provisioning, the SSO application doesn't require groups or a mapping rule. Assign the same roles to both applications.
After groups are provisioned, link a subscription to each group to give users product access. For more information, see this article.
Migrate with existing SAML SSO setup
If you're an existing customer who has already setup SSO using the SAML protocol, but you don't see any options to configure SCIM in OneLogin, follow the steps below to migrate. If you're a new customer without a previous SSO setup, continue with Test provisioning.
- Go to the Configuration page and check under API Connection that Disabled is selected
- To minimize disruptions, ensure that all access permissions are the same as those in the existing SSO configuration
- Go to the Settings of your DeepL account
- Click Edit next to Single sign-on (SSO)
- Go to OneLogin. On the SSO tab for the registered application that you have created with the steps under Create the application, get the metadata URL. Add the URL to the Single sign-on (SSO) settings in your DeepL account, then click Confirm.
The new application registration is now in use for SSO login. Ensure that it is working correctly before continuing with Test provisioning
Add SCIM without migrating to a new application
You can enable SCIM without migrating to a new application by adding a separate, provisioning-only application. Keep the following trade-offs in mind before choosing this approach:
- You will have the additional overhead of maintaining a second application for provisioning with DeepL
- Role management and access will become more complex, because actions must be duplicated between the two applications
- Discrepancies between the two applications can create confusion and undesirable outcomes, and such discrepancies are easy to create
- Follow the steps under Create the application but ensure that Visible in portal is disabled, because this application is used for provisioning only and not for authentication. Click Save.
- Go to the Configuration tab
- In the SCIM Base URL field, enter
https://scim.deepl.com - Enter the following under Custom Headers.
Content-Type: application/scim+json - In the SCIM Bearer Token field, enter your SCIM API key. You will find your SCIM API key in your DeepL admin account under Admin keys. For more information, see this article
-
In the SCIM JSON Template field, enter the following template:
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "userName": "{$parameters.scimusername}", "name": { "formatted": "{$user.display_name}" }, "externalId": "{$parameters.externalId}", "active": "{$user.status}" }Although not required, it is recommended that you use theexternalIDfield, since DeepL stores it as a stable provider-side correlation identifier for consistent identity correlation. The scimusername must match the email value sent by your SSO application: the EmailAddress attribute (SAML) or the email claim (OpenID Connect). If your SSO application sends a different email identifier, such as a UPN, use that attribute instead. If the values differ, DeepL may create duplicate accounts. - Click Save
- Go to the Provisioning tab, select Enable provisioning, and click Save. This step is required. Without it, Include in User Provisioning will not be available on the Parameters tab. For now, ensure that admin approval is required for all operations, as described under Enable provisioning.
- Go to the Parameters tab
- Click the Groups field, select Include in User Provisioning, and click Save
- Click
scimusernameand set the value to Email.
Thescimusernamemust match the email value sent by your SSO application: the EmailAddress attribute (SAML) or the email claim (OpenID Connect). If your SSO application sends a different email identifier, such as a UPN, use that attribute instead. If the values differ, DeepL may create duplicate accounts. - Click Save
- Click the plus icon to create a new parameter. Set the field name to
externalIdand click Save. - Set the value to OneLogin ID, select Include in User Provisioning, and click Save.
- Add the group mapping rule described in Add a group mapping rule, then save the application
- Select the roles for provisioning, as described in Assign access , and click Save
- Test the connection as described in Test provisioning.
Actions to deactivate users
What happens in DeepL depends on the request that OneLogin sends when you remove a user's access. You can set actions under Provisioning in your app. The following configuration is set by default:
- Suspend: OneLogin sets the user to inactive. DeepL disables the account but keeps the user's group memberships. When you reactivate the user, DeepL will enable the account again.
- Delete: DeepL removes the user from your team and from all groups.
- Remove a role or app access for a user: OneLogin sends a delete request for this event and DeepL removes the user from your team and from all groups.
To control what OneLogin sends to DeepL, select from the following options:
- Under Require admin approval before this action is performed, select the actions that require your approval before OneLogin sends them to DeepL.
- Under When users are deleted in OneLogin, or the user's app access is removed, perform the below action, select whether OneLogin should delete the user in DeepL, suspend the user, or do nothing.
- Under When user accounts are suspended in OneLogin, perform the following action, select whether OneLogin should suspend the user in DeepL, or do nothing.
Troubleshoot provisioning
If OneLogin cannot provision a user or group, it only shows a generic message, such as Could not be created. Check the following:
- Is the custom header
Content-Type: application/scim+jsonset on the Configuration tab?
Without it, DeepL returns the status 415. - Is the
scimusernameparameter set to Email?
DeepL requires an email-like value as the username. Other values, such as a numeric OneLogin ID, return status code 400. - Does the
externalIdparameter exist, and does the SCIM JSON template use it? - Is Enable selected under API Connection on the Configuration tab?
- Is the SCIM bearer token your SCIM admin API key, and is SCIM provisioning enabled in your DeepL account?
If the issue persists, contact DeepL Support and share the following details:
- The email address of your DeepL admin account, or the name of your organization
- The date and time of the failed event, in UTC
- The email address of the affected OneLogin user and the failed event
- The OneLogin provisioning log entry for the failed event. For more information, see Download provisioning logs
Download provisioning logs
To troubleshoot provisioning issues or verify successful operations:
- In your OneLogin admin console, go to Activity > Reports.
- Create a report that filters by your DeepL application and provisioning events.
- Click on individual events to view detailed information.
- To export logs, click Download CSV or use the OneLogin API to retrieve logs in JSON format.
For more information about OneLogin provisioning logs, please refer to the OneLogin documentation.