A developer is using the REST Authorization Service to obtain an OAuth access token. Which method should be used to include the access token in the API requests
A.
Include the header x-access-token: your_access_token
B.
Include as a query parameter access_token=Y0UR_ACCESS_TOKEN
C.
Include the header Authorization: Basic your_access_token
D.
Include the header Authorization: Bearer YOUR ACCESS TOKEN
When using the REST Authorization Service to obtain an OAuth access token, the standard method to include this token in subsequent API requests is by adding it to the Authorization header with the Bearer scheme.
This format is a standard practice for OAuth 2.0 token usage.
[: Salesforce Authentication and Access Tokens, , ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit