Authorization Through External Client Apps or Connected Apps and OAuth 2.0
Configure an External Client App or a Connected App
Both external client apps and connected apps request access to REST API resources on behalf of the client application. For an external client app or connected app to request access, it must be integrated with your org’s REST API using the OAuth 2.0 protocol. OAuth 2.0 is an open protocol that authorizes secure data sharing between applications through the exchange of tokens.
For instructions to configure an external client app, see Create an External Client App or Enable OAuth Settings for API Integration in Salesforce Help. For more information about connected apps, see Connected Apps in Salesforce Help.
Apply an OAuth Authorization Flow
- To initiate an authorization flow, a connected app on behalf of a client app requests access to a REST API resource.
- In response, an authorizing server grants access tokens to the external client app or connected app.
- A resource server validates these access tokens and approves access to the protected REST API resource.
After reviewing and selecting an OAuth authorization flow, apply it to your external client app or connected app. For details about each supported flow, see OAuth Authorization Flows in Salesforce Help.
More Resources
- Salesforce Help: External Client Apps
- Salesforce Help: Authorize Apps with OAuth
- Salesforce Help: OpenID Connect Token Introspection
- Trailhead: Build Integrations Using External Client Apps