Single Sign On (SSO) is available for DocBoss. If enabled, users with the company domain will be redirected to their identity provider to sign in to access DocBoss. The instructions below outline how to set up SSO and user provisioning (SCIM) with DocBoss when using Microsoft Entra ID as the identity provider.
Set up
Requirements
The first step is to contact DocBoss Support and request that Single Sign On is enabled.
We will ask for some information. Your IT will need to gather this:
- Domain (users with email from this domain will be redirected to identity provider)
- Type of the application they use (ie. Microsoft Azure)
- Supported account types, if applicable (see below, Azure example step 2)
- Application (client) ID (example step 3)
- Client Secret (example step 4)
- Endpoints (Authorization, Token, Issuer) (example step 6)
After this information is provided, DocBoss Support will provide a redirect URI for your application. This will redirect users back to DocBoss after authentication in your identity provider. This must be added in your identity provider application by your IT.
If you are also setting up user provisioning (SCIM), DocBoss Support will provide:
- Tenant URL (SCIM base URL), for example https://system.docboss.com/scim/v2/ [system2, 3 …]
- Instructions on how to get a token (a long-term token from DocBoss Security Settings > API Authorization > Tools > Token)
- The list of fields for creating and updating users (see Set up user provisioning (SCIM) below)
Steps
The example below uses Microsoft Entra ID as the identity provider. If you are using a different provider, refer to their documentation for how to set up Single Sign On.
1. Log into Microsoft Azure and select App registrations > Register an application.
2. Enter the display name and account type. Make note of the account type to advise DocBoss Support.
3. On the next screen, under the Essentials tab, copy the Application (client) ID. Make note of this to provide DocBoss Support.
4. On the Client credentials option, select Add a certificate or secret. Add a certificate and copy the secret to provide DocBoss Support.
5. Select the Endpoints tab.
6. Copy the link for the OpenID Connect metadata document to provide DocBoss Support. This includes all of the endpoints (Authorization, Token, Issuer) DocBoss requires information on.
The next step is only available after providing the information from the previous steps to DocBoss Support:
7. After DocBoss Support provides redirect URI, navigate to the Essentials section of this app in Azure and select Add a redirect URI. Paste the redirect URI provided by DocBoss.
Set up user provisioning (SCIM)
This is optional. With user provisioning, users are created, updated and disabled in DocBoss from Microsoft Entra ID, so your IT manages DocBoss access from Entra instead of DocBoss admins adding users by hand. Below is an example of how this can be configured, but your IT will know how to configure this best for your company's needs.
If your DocBoss instance already has users, read Enabling User Provisioning (SCIM) with Existing Users before turning provisioning on.
Add the provisioning application
8. In Microsoft Entra ID, select Enterprise applications > New application > Create your own application. Enter a name (for example DocBoss Provisioning) and choose Integrate any other application you don't find in the gallery (Non-gallery).
9. In the new application, open Provisioning and set Provisioning Mode to Automatic.
10. Under Admin Credentials, enter:
- Tenant URL: provided by DocBoss Support, for example https://system.docboss.com/scim/v2/
- Secret Token: the long-term token from DocBoss Security Settings > API Authorization > Tools > Token
11. Select Test Connection, then Save.
Set up mappings
12. Under Mappings, open Provision Microsoft Entra ID Groups and set Enabled to No. DocBoss provisions users only; groups can still be used to choose which users are assigned to the application.
13. Open Provision Microsoft Entra ID Users. DocBoss uses the following fields:
- userName [required] – This must be the user's email address within the SSO domain, the same address the user signs in with. Entra maps this from userPrincipalName by default; if your users' principal names are not their email addresses, map userName from mail instead.
- name.givenName [required]
- name.familyName [required]
- active – Keep the default mapping. When a user is disabled or removed from the application in Entra, the user is disabled in DocBoss.
- title – This value is saved as the Title field for the user in DocBoss.
- timezone – This value is saved as the user's time zone in DocBoss. It must exactly match one of the DocBoss time zone values, for example America/Toronto (Ontario, Quebec), America/Edmonton (Alberta) or America/Vancouver (British Columbia). If it is not sent or does not match, the user gets the company or instance time zone.
- userType – This value is saved as the user's role in DocBoss. Allowed values are Admin, Full, Reviewer, and View. If not included, the user's role will be set to View.
Other attributes in the default Entra mappings (for example phone numbers, addresses and display name) are ignored by DocBoss. They can be left in place or deleted.
14. Entra has no default attribute for userType. To set roles from Entra, select Show advanced options > Edit attribute list, confirm userType is in the list (add it as a String if not), then add a mapping to it. This can be a Constant (for example Full) or an attribute your IT maintains for the user's DocBoss role.
15. Entra has no default attribute for timezone either. If all users are in one time zone, add a mapping to timezone with mapping type Constant and the DocBoss time zone value (for example America/Toronto). Otherwise map it from an attribute your IT maintains with these values.
Custom Fields
Affiliates
This is optional. If included, only one affiliate access can be granted at a time. Additional requests will ADD new affiliate access but not remove the existing affiliate access. The value for this should be the Company Short Name from the company profile in DocBoss.
16. To add it, select Show advanced options > Edit attribute list and add an attribute named urn:ietf:params:scim:schemas:extension:docboss:2.0:User:affiliate of type String. Save, then add a mapping to it from the Entra attribute that holds the company short name (or a Constant if all users belong to one affiliate).
If Affiliate is not included in a request, the user will be given access to the affiliate with the smallest company ID (the original affiliate).
Turn on provisioning
17. Under Settings, set Scope to Sync only assigned users and groups, then assign the users or groups who need DocBoss access under Users and groups.
18. Use Provision on demand to test with one user, and check that the user appears in DocBoss with the expected role.
19. Set Provisioning Status to On and Save. Entra then provisions on its own schedule, typically every 40 minutes, so changes in Entra do not appear in DocBoss immediately.
If the number of permitted users for a role is reached, DocBoss will not create the user. Contact DocBoss Support to adjust your license.
Implementing
Once the steps above are complete and you have provided the information to DocBoss as noted in them, reach out to DocBoss Support and we will schedule a meeting to enable SSO (and user provisioning, if using). Our Support will also provide a redirect URI for your application. This will redirect users back to DocBoss after authentication in your identity provider. This must be added in your identity provider application for SSO to function. When adding the redirect URI, select "Web" as the platform.
If you want to try the function, then schedule a roll out for your users we can schedule the meeting to enable, test (have a user login), then disable within a few minutes. Already logged in users would not be affected. You can then communicate to your user base with a timeline for the switch. Alternatively, we can just leave it enabled after the test is successful.