Newer Version Available

This content describes an older version of this product. View Latest

Understanding Authentication

Salesforce uses authentication to allow users to securely access data without having to reveal username and password credentials.
Before making REST API calls, you must authenticate the user using OAuth 2.0. To do so, you’ll need to:
  • Set up a remote access application definition in Salesforce.
  • Determine the correct OAuth endpoint to use.
  • Authenticate the user via one of several different OAuth 2.0 authentication flows. An OAuth authentication flow defines a series of steps used to coordinate the authentication process between your application and Salesforce. Supported OAuth flows include:
After successfully authenticating the user, you’ll receive an access token which can be used to make authenticated REST API calls.