Error while providing OAuth

Not applicable

Hello,

I'm trying to provide OAuth security for my existing proxy. When I'm hitting the following URL for generating the access token I'm getting the following error.

URL: https://{org_name}-{env_name}.apigee.net/oauth/client_credential/accesstoken

I'm attaching the screenshot of the error message.

Can anyone help in generating the Accesstoken.

0 1 256
1 REPLY 1

Hi Radhika,

May I suggest that you double-check your steps with the following two doc topics. The first is an end-to-end tutorial showing how to do client credentials grant type:

http://apigee.com/docs/api-services/tutorials/secure-calls-to-your-api-through-oauth-client-credenti...

The second is a topic that shows you exactly how to set up your OAuthV2 policy and request access tokens for each grant type, including client credentials:

http://apigee.com/docs/api-services/content/asking-tokens

Please check back if you still cannot get it to work.