Create OAuth connection
- Updated: 2025/03/27
A Control Room administrator can create OAuth connections for users to use these connections in the authentication action for packages without having to enter any authentication details.
Note: The Salesforce mark and logo, the Microsoft SharePoint mark and logo, the Apigee mark and logo, ServiceNow mark and logo, and the Genesys mark and logo are trademarks or registered trademarks of Salesforce, Inc., Microsoft Corp., Google LLC, ServiceNow, Inc., and Genesys, respectively, and are used for identification purposes only.
Prerequisites
- Ensure that you are using a user role that has the Manage connections permission enabled for the OAuth Connections feature. See Feature permissions for a role.
- If you are adding more than one scope, ensure that you separate the scopes using
commas.
Example: api,refresh_token,offline_access
- Ensure that you have configured an enterprise application and made a note of the
Client ID, Client secret, Authorization URL, Token URL, and Scope. See Configure enterprise applicationsNote:
- Consider the above prerequisites to avoid a connection error.
- When configuring OAuth, the Scope field is optional. Consult with the identity provider (IDP) to determine the required scopes.
- Although the following table lists the applications that are certified, you can configure your enterprise applications using the Provider type as Custom. by selecting
- We recommend that you use refresh tokens that are configured for a longer expiry duration. See Use AuthConfig App to enable OAuth2 services.
Examples of key components of OAuth
Procedure
The following video shows how to create an OAuth connection: