Salesforce

Setting up OAuth 2.0 - What does this error mean: unsupported_grant_type

Article Information
 
Inhoud van het artikel
This article is part of the article serieĀ Setting up OAuth 2.0 - Introduction

Requesting tokens results in client error:

grant type.jpg

This error is referring to the grant type in your body in step 2 (requesting tokens) or 3 (renewal of access token).

Please check the following values:

Step 2: grant type is "authorization_code"
Step 3: grant type is "refresh_token"

Solution
Change these values as mentioned earlier and this client error will not be displayed anymore.
detail information
1-12-2021 10:59
Setting up OAuth 2.0 - What does this error mean: unsupported_grant_type
116
URL
Setting-up-OAuth-2-0-What-does-this-error-mean-unsupported-grant-type

Powered by