Initiate the Authorize Endpoint to Verify the Updated Metadata

Verify that the scope matches the update from one org to another.

  1. Copy the consumerKey from the global settings file. This value only exists in the global settings file after you deploy and retrieve the External Client App OAuth settings.
  2. Paste the org’s URL and the consumer key into this URL in place of <org url> and <consumerKey>.
    <new org url>/services/oauth2/authorize?response_type=
    code&client_id=<consumerKey>& redirect_uri=https://www.example.com
  3. To initiate the request for access, open the URL in a browser.
    Before Salesforce provides authorization codes, the authenticating users are asked to log in to Salesforce.
  4. Sign in with the new org’s credentials.
  5. The Allow access window now shows all scopes for org 1, which indicates that the scope field updated in org 3 was successfully deployed to the source org.
  6. Choose Allow.
    You’re redirected, and an authorization code is included in the URL.