Creating a new user-delegated integration
Required permission
To create and manage integration clients, you require the following permission:
Manage connected applications > Manage integration clients;
Navigate to Supporting Files > System integration overview > User-delegated integrations and open the System integrations overview for connected applications. On the user-delegated integrations tab click Create integration client.
Fill in a unique Name for your user-delegated integration.
In the URL field, enter the redirect URL of the external application.
With the Add other URL button, you can set multiple redirect URLs, including custom URI schemes (e.g.,
myapp://callback) in addition to standardhttps://URLs.Redirect URL
After the user approves or denies the consent request, TOPdesk redirects them to this URL.
Under Select scopes, select one or more scopes for the integration.
You must select at least one scope to create a user-delegated integration. Each scope is shown by its technical ID (for example
incidents.read). See Scopes for more information.Click Create.
The newly created integration appears in the List of integration clients.
Its detail panel now shows a Scopes section listing the scopes you granted.
Editing user-delegated integrations
In the List of integration clients, open the three-dot menu for the client you want to edit and select Edit.
In the Edit modal, update the integration's scopes and/or URLs as needed.
These are the only two fields you can edit for a user-delegated integration:
Scopes: At least one scope is required. Scopes are mandatory for user-delegated integrations, including when editing one. The current scopes are pre-selected.
URLs: Can be added, changed, or removed without recreating the client. A redirect URL is no longer required to begin with (it's now optional when creating the integration too).
The client secret isn't shown or changed by editing.
Click Save.
important
Saving revokes all consent previously given for this client, for every user who consented to it. Everyone using the integration has to go through the consent process again, with the updated scopes.
A user-delegated integration is legacy if it was created before scopes existed, and so has no scopes stored for it.
It's detail panel shows no selected scopes, together with a warning that the integration predates scopes, currently has full has full access to TOPdesk, and must be edited to limit that access.
Opening the Edit modal for a legacy integration shows the same kind of warning. You must choose the scopes it needs yourself.
After you save, the integration keeps only the scopes you selected. Its previous full access can't be restored afterward.
Deleting a user-delegated integration
When an integration is no longer needed you can easily remove it.
In the List of integration clients, open the three-dot menu for the client you want to delete.
Click Delete.
The integration is removed from the overview. Existing access tokens remain valid until they expire (up to 15 minutes), but no new access tokens can be issued. After that, the external application can no longer act on behalf of the TOPdesk user.
Scopes
A scope is a specific permission, for example incidents.read, that limits what a user-delegated integration is allowed to do on a TOPdesk user's behalf.
note
Scopes apply only to user-delegated integrations. Application integration continue to use permissions instead. See Creating a new application integration.
When you created a user-delegated integration, the Select scopes step lists every available scope as a checkbox. You must select at least one scope. TOPdesk doesn't let you create a user-delegated integration without one.
Which scopes are available depends on which TOPdesk modules and integratoins have implemented scoped access. As more of them do, their scopes are added to this list automatically. The list you see may grow over time.
After creation, the integration's detail panel shows a Scopes section listing the scopes you granted to it.This section only appears if the integration has at least one scope.
important
Integrations (and the consents given for them), that were created before scopes existed keep working as they do today. TOPdesk doesn't automatically limit them to any scope.
In the integration's detail panel, such a legacy integration shows no selected scopes, together with a warning that the integration predates scopes, currently has full access to TOPdesk, and must be edited to limit that access. See Editing user-delegated integrations.
When an end user is asked to consent to a user-delegated integration, the consent form lists the scopes the integration is requesting, the same way TOPdesk already asks for consent for the user-delegated integrations.