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 .
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
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.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |