Hi,
We want to consume some of the #google APIs through #apigateway. Prerequisite of it to generate #oauth2.0 tokens to call Google API. Are there assertions available in GW, through which we can authenticate with #googleapi over oAuth2.0 framework?
Thanks,
Sid.
Hello Sid, given your case I do not think you are looking to generate OAUTH tokens locally on the Gateway and use them for Google, but rather acting as a client in an OUATH flow to request and use tokens from Google.
See below documentation that explains the assertions you can use to achieve your required outcome:
https://docops.ca.com/ca-api-management-oauth-toolkit/3-6/en/apis-and-assertions/oauth-client-assertions
/Mikael
Hi Mikael,
Is there any sample policy available. If yes, that will be very helpful.
Hi SIDDHARTHJAISWAL,
I have created a sample policy here using the Authorization Code grant: Retrieve OAuth 2.0 Token Assertion sample policy
This is intended only for guidance using the assertion and should not be used in production.
Regards,
Joe