Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Issue with Client_Credential using OAuth2

Not applicable

Hi,

I am trying to use the following url to generate a access token with the following uRL:

curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \ https://XXXXXX-eval-test.apigee.net/oauth/client_credential/accesstoken?grant_type=client_credential... \ -d 'client_id=19TGrhCeCCE6oT18Wz5YoJnFTzUDrfyl &client_secret=u0r1c5vvdlCqTfvA'

but getting the below error:

{"ErrorCode" : "invalid_client", "Error" :"Client identifier is required"}'client_secret' is not recognized as an internal or external command, operable program or batch file.

Regards

Ramesh

0 6 738
6 REPLIES 6