Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Generate OAUTH Token

To use REST Servicestest any REST services you provide via Apex, an OAUTH Token must be generated by SalesForcetoken will be required. This makes debugging simpler and faster.

See https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm for a reference.

The following information is needed from the the Connected App Configuration:

  • client_id
  • client_secret

...

The OAUTH Token is generated using CURL.

...