Does Apigee API login have OAuth2 implemented?

Hi,

I am using below URL to login to Apigee via Postman to access my Apigee metrics but i want to know does Apigee have OAuth2 implementation on their side?

like POST https://login.apigee.com/oauth2/token

Actual URL: POST https://login.apigee.com/oauth/token and i am able to get the token and successful to get API Metrics .

0 1 198
1 REPLY 1

does Apigee have OAuth2 implementation on their side?

Yes, with some restrictions. The endpoint you mentioned, https://login.apigee.com , handles a POST to path /oauth/token . The client credentials are "fixed" - there is no ability currently for you to provision additional clients. The clientid and secret are { edgecli, edgeclisecret } , which gives you a Base64 Basic Auth blob of "ZWRnZWNsaTplZGdlY2xpc2VjcmV0", so the request is

POST https://login.apigee.com/oauth/token 
Authorization: Basic ZWRnZWNsaTplZGdlY2xpc2VjcmV0
Content-Type: application/x-www-form-urlencoded

grant_type=password&username=USERNAME&password=PASSWORD

This is documented here.

But I'm not clear on exactly what you're asking. Guessing from the bolded element in your path, ....maybe you are asking ... if Apigee should use /oauth2/token instead of /oauth/token ?

If that's your question, the answer is "no". The path for the token request is not part of the OAuth2 standard, and the path need not have "oauth2" as one of the segments.