External client apps can support OAuth 2.0 JSON Web Token (JWT) bearer flows using the
certificate field in the global OAuth settings file. A JWT flow authorizes servers to access data
without interactively logging in each time the servers exchange information.
Required Editions
- Create an X.509 certificate by following the steps in OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration.
- Open the extlClntAppGlobalOauthSettings file.
- If the certificate field doesn’t exist, add it and enter the X.509 certificate as the value
for the certificate field.
- Save the extlClntAppGlobalOauthSets file.
- Create a JWT following the steps in the OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration.
- Use this cURL command to request the token for deploying your external client app.
curl -X POST <org URL>/services/oauth2/token -d 'grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&assertion=<JWT>' | json_pp
This returns a bearer token you can use to authorize in other flows.