Obtain OAuth2 token from third parties.

Could you tell me where I can see how to implement oauth2 management for a third party, that is, the image is the black point.

9996-apigee-0.png

0 2 122
2 REPLIES 2

Apigee can engage in an OAuth token-grant flow, as any other OAuth client.

To make this happen you would probably have to use ServiceCallout to call to the /token endpoint of the backend service, passing the appropriate client credentials.

Apigee won't be able to engage fully in a 3-legged flow (Authorization code grant type), because that will require a user-authentication and sign in.

This Proxy example shows something similar. It doesn't connect to "Music" , instead it connects to GCP Cloud Logging (previously called "stackdriver"). The proxy does exactly what I described above to get a token, and then use that token.

thanks for the reply 😉