The client credentials grant type defines a procedure for issuing access tokens in exchange
for app credentials. These app credentials are the consumer key and secret
pair that Apigee issues for each app that is registered in an organization. For more
details, see Implementing
the authorization code grant type.
Add OAuth 2.0 to a new API proxy
You can add OAuth verification to an API when you create a new API proxy in the Apigee UI.
On the Common policies page of the wizard, select the radio button next to OAuth
v2.0.
When you select this option, two policies will be attached to the
newly created API proxy, one to verify access tokens and another to strip the access token after
it has been verified.
Note that the Publish API
Product checkbox becomes selectable and is automatically selected. Check this if
you want to automatically generate a product when you build the new API proxy. The autogenerated
product will be created with an association to the new API proxy. If you have an existing product
with which you want to associate this new API, be sure to clear this checkbox so that you don't
create an unnecessary product. For information about products, see What is an API product?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis documentation applies to both Apigee and Apigee hybrid platforms.\u003c/p\u003e\n"],["\u003cp\u003eApigee uses app credentials, consisting of a consumer key and secret pair, to issue access tokens via the client credentials grant type.\u003c/p\u003e\n"],["\u003cp\u003eOAuth 2.0 verification can be added to a new API proxy during its creation in the Apigee UI.\u003c/p\u003e\n"],["\u003cp\u003eSelecting the OAuth 2.0 option during API proxy creation automatically attaches policies to verify and strip access tokens.\u003c/p\u003e\n"],["\u003cp\u003eYou can optionally auto-generate an API product linked to the new API proxy, or clear this option to associate it with an existing product.\u003c/p\u003e\n"]]],[],null,[]]