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

Create and Manage APIs: OAuth 2.0: Client Credentials

Not applicable

Hi,

I'm new to apigee. When I try out OAuth 2.0 implementation as described in docs

(/http://apigee.com/docs/gateway-services/content/secure-calls-your-api-through-oauth-20-client-credentials/)

I'm getting an error while executing curl command for getting the access token.

*Error*: "/{"ErrorCode" : "invalid_client", "Error" :"Client credentials are

required"}'client_secret' is not recognized as an internal or external

command,operable program or batch file./"

Can someone please help me?

Solved Solved
0 4 1,718
1 ACCEPTED SOLUTION

Not applicable

The docs do a fairly good job at explaining oAuth, but if you are a new user, I strongly suggest that you look into our Apigee Learn site. There, you will see a link to the Develop and Manage APIs course. If you don't want to step through all of the series, Step 6 goes into detail as to how to get oAuth 2.0, client credentials working in your API. Following those steps should fix your problem. If not, please let us know.

View solution in original post

4 REPLIES 4