Request API protected by OAuth2.0 using Service callout

Hello

I am new to the platform and I am stuck trying to confighure the below use case. Could someone please help me with an article that addresses it or a sample configuration that I could start with.

- The client app sends out a request to the API
- Apigee using the service callout or any other policy calls the server's OAuth url
- Apigee reads and extracts the access_token from the response
- Plugs it in to make the actual request to the server

Thank you in advance

1 1 326
1 REPLY 1

ylesyuk
Participant V

You can refer to the following CodeLab, which will guide you through the realistic example of an GCP/OpenID connect client interaction, like in your use case.

https://apigee.github.io/alfa/edge-dev-kvm-cache-firestore/#0

Of course, you can just look up bits and policies you need to solve your particular problem, but if you are an Apigee novice, you can benefit most by doing the lab completely. You better be prepared to run through the lab at least twice. It is intentionally dense and packed with material.