The OAuth 2.0 credential fields for Salesforce and MaxCompute, and where to obtain them.
Two Apps use OAuth 2.0. The console describes the method this way: it delivers a secure, user-friendly sign-in through the OAuth 2.0 authorization flow.Users never hand their password to the platform. They are redirected to the target system to sign in and grant authorization, and what the platform receives is a revocable token.
Page hint: enter your Salesforce org domain and OAuth app credentials.
Field
Required
Description
Org domain
Yes
The address of your Salesforce on Alibaba Cloud org, in the form xxx.my.salesforce.com
Client ID
Yes
The Consumer Key of the Salesforce External Client App
Client Secret
Yes
The Consumer Secret of the Salesforce External Client App
The credentials come from an External Client App on the Salesforce side. Create an External Client App in Salesforce and enable its OAuth settings to obtain both values. The full steps are in the Salesforce documentation: Create an External Client App.
Under OAuth Scopes, select at least these three scopes:
Manage user data via APIs (api)
Manage user data via Web browsers (web)
Perform requests at any time (refresh_token, offline_access)
The org domain must be your own org's address, not login.salesforce.com. Sandbox and production environments have different domains, so be careful not to mix them up.
Once the Client Secret is replaced in the target system, the original config stops working, and every connector built on it fails along with it.What to do: create a new auth config with the new credentials, rebuild the connector with the new config, and delete the old connector once you confirm the new one works.
Do not delete an OAuth app in the target system while it is still in use. The moment the app is deleted, every connector based on it breaks immediately and cannot be restored by authorizing again.