OAuth2.0 token for grant_type=client_credentials(error: invalid request, missing parameter: access_token)

zmehta
Tera Contributor

my configuration for oauth profile:

clien id: xxx

client secret:xxx

token url: http://domain/version/token

grant_type: client_credentials

 

============================================================

the third party uses oauth2.0 with grant_type uses type format as  www-form-urlencoded .

APIs currently support only a single grant_type value of client_credentials.

There is a single www-form-urlencoded POST parameter, grant_type. The username is the Client ID and the password is the Client Secret.

============================================================

ERROR:find_real_file.png

 

 

5 REPLIES 5

zmehta
Tera Contributor
The issue is resolved. I got it working. Issue: I was sending the parameters in the request headers. Solution: The parameters need to be added in the request body/payload.