Skip to main content
Control which integration actions are enabled in your workspace and which OAuth scopes Langdock can request when users connect. Use this page when you want to review action access, prepare a custom OAuth client, or understand why an action shows Missing scope.

How scopes control actions

Every integration action needs one or more OAuth scopes from the connected provider. For example, an Outlook Calendar action may need Calendars.ReadWrite before it can create or update calendar events. Langdock groups actions by the scopes they need. When you enable or disable an action, you may also change which scopes Langdock requests from the OAuth provider. The OAuth client selected for a new connection determines how these requested scopes are managed. Use the table below to compare how different OAuth Clients can manage the available scopes of your integration.

Control new actions

In your Integrations settings, you can find the New actions enabled by default setting, which controls what happens when Langdock adds an action to an existing integration.
The New actions enabled by default toggle in workspace integration settings
Langdock checks whether the OAuth client for the new connection already covers the action’s required scopes.
  • Actions whose required scopes are covered are enabled automatically.
  • Actions with missing scopes stay disabled until you add or sync the required scopes.
When a new action starts disabled, each active workspace admin gets an in-app notification for that integration and one email for the workspace. Both open the integration settings so you can turn the action on. A Delete action stays locked while Enable delete actions is off.
On dedicated deployments, the email is only sent if the deployment is configured for email delivery. The in-app notification is still created.
The same rule applies when Langdock adds a scope to an existing action. A new scope never silently expands what Langdock can request from your provider. That change does not send an in-app notification or an email.

Enable delete actions

In your Integrations settings, Enable delete actions controls every action classified as Delete. It sits next to New actions enabled by default, and it is on by default.
Manage built-in integrations with Enable delete actions turned on
Each Delete action keeps the enabled state you set for it. View and Change actions are not controlled by this switch.
Manage built-in integrations with Enable delete actions turned off
Action list with View and Change still on, and Delete expense locked off. The tooltip says delete actions were turned off by a workspace admin.
Turn Enable delete actions back on and each Delete action returns to the setting it had before.

Choose an OAuth client mode

When using integrations, you can either choose to use the Langdock Client or to Bring Your Own OAuth Client. In your Integrations settings, select a built-in integration and scroll to Scopes and Action Access to configure the OAuth client mode for that integration.
Use the Langdock Client when you want Langdock to manage OAuth scopes for you. This is the default on Multi-Tenant Cloud for integrations where Langdock provides a managed OAuth client.Langdock requests the auth scopes needed to identify the user, such as openid, email, and offline_access. It also requests the scopes required by actions that are enabled for everyone or shared with specific users and groups.You do not edit scopes manually. To change the requested scopes, enable, disable, or share actions.
Scopes and Action Access section with the Langdock Client active, showing scope groups with their status badges

Review scope status

Use Scope view to see which scopes are part of the active requested set. Scope groups with a green check are requested. Scope groups with a red X are not requested.
Scope view active in the Scopes and Action Access section, with one scope group expanded to show its actions
Use Action view to manage actions one by one. This view is useful when you want to search for an action, sort by enabled state, or check the scopes a specific action needs.
Action view active in the Scopes and Action Access section, showing actions with their required scopes and enabled toggles
If an action needs a scope that is not currently requested, hover the Missing scope badge. With the Langdock Client, enabling the action adds that scope to the requested scopes after you confirm the change.
Hover tooltip on a Missing scope badge in the Langdock Client view, showing the message Enable action to add it to the requested OAuth scopes

Confirm scope updates

When your change adds or removes a scope, Langdock shows a confirmation dialog before updating the requested scopes. After you confirm, users need to refresh their connection before the newly granted scope is available.
Confirmation dialog shown when enabling an action introduces a new OAuth scope
Existing connections keep their granted scopes until users refresh the connection or their access token expires.

Manage action access

Each action can be available to all users or shared with specific users and groups. See Manage Action Access for how to control who can use an integration and its actions.

What changes in this mode

Native actions

Native actions that power core Langdock features stay on. You cannot turn them off. Those native actions support:
  • File attachments from integrations in chat and Agents.
  • Folder syncing.
  • Company Knowledge.
  • Access checks for synchronized attachments from integrations.
Native actions that show names instead of raw IDs in forms can be turned off. While the action is on, forms show names. Turn it off and the fields accept raw IDs.
Action view with List files in folder locked on beside Resolve file turned on. The tooltip says forms show names instead of raw IDs, and turning the action off stops requesting its scopes.
Action view with List files in folder still locked and Resolve file turned off, with no Share button. The tooltip says fields accept raw IDs and its scopes are no longer requested.
When you use the Langdock Client or a custom OAuth client with Sync scopes with enabled actions turned on, scopes for native actions that stay on cannot be removed from the requested set. Turning off a native action that shows names instead of raw IDs removes its scopes from that set when no other enabled or shared action needs them. With a custom OAuth client that uses Fixed scopes, you can configure a setup where Langdock does not request the scopes required for native actions. Changing these switches does not rewrite a fixed scope list.
Not requesting scopes for the native actions listed above can break those features. It can also affect the user experience beyond direct integration usage in chat, Agents, or Workflows.

Export scope configuration

Click Export scope configuration to download a CSV of the current action and scope configuration.
Export scope configuration button at the top of the Scopes and Action Access section, with its tooltip explaining what the CSV contains
The export includes each action’s name, description, required scopes, enabled state, and sharing configuration. Use it when you need to review integration access with your security team or the admin who manages your OAuth provider.

FAQ

The action is disabled when New actions enabled by default is off, when the OAuth client selected for new connections does not request every scope the action needs, or when the action is classified as Delete and Enable delete actions is off.When a new action starts disabled because New actions enabled by default is off or scopes are missing, each active workspace admin gets an in-app notification and an email. Turning Enable delete actions off does not send that notification.You can turn the action on from your OAuth setup, unless it is a Delete action and Enable delete actions is off. The Delete action switch stays locked until Enable delete actions is on. Turning another action on may add permissions to the requested scopes. If you use Fixed scopes, add the missing scopes to your OAuth client first.To enable future actions automatically when all required scopes are already part of the OAuth client, turn New actions enabled by default on. Delete actions still follow Enable delete actions.
The toggle only appears for custom OAuth clients. The Langdock Client always syncs scopes with enabled and shared actions.
Existing connections keep the scopes granted at connection time. After you add a scope, users need to refresh their connection before the new scope is granted.
Open the settings icon on the custom client card that applies to the affected users. Confirm that the scope is listed there and as an API permission in your Azure app registration. If admin consent is required, confirm that it has been granted.
Yes. Turn New actions enabled by default off. Existing actions keep their current state. Future actions are disabled until you review them. A Delete action still follows Enable delete actions.
Yes. A workspace can keep one client active for the entire workspace, several User choice clients, and group clients whose members do not overlap. Each client keeps its own scope list and scope sync setting.
With the Langdock Client or a custom OAuth client with Sync scopes with enabled actions turned on, Langdock removes a scope only when no enabled or shared action needs it. Auth scopes such as offline_access and openid are always requested.With Fixed scopes, Langdock never changes the requested scopes automatically.

Bring Your Own OAuth Client

Set up a custom OAuth application for an integration.

Integrations settings

Review action access in your workspace.

Microsoft

Grant tenant-wide admin consent for Microsoft integrations.

Integrations Guide

Learn how integrations work in Langdock.