I want to hit the BQ API directly from APIGEE as per the BQ docs:
https://cloud.google.com/bigquery/docs/reference/rest/v2/tabledata/insertAll
The scope needed for this is -- https://www.googleapis.com/auth/bigquery
The API call to exchange JWT to access_token is not working .
URL - https://oauth2.googleapis.com/token
Form Params:
1. assertion ( JWT token being generated in runtime in APIGEE)
2. grant_type
I am getting 400 not sure, why. Can anyone guide me to correct way to generate access token for BQ API with correct scope as per the official docs.
If you're using Apigee X/Hybrid, you could use Google Authentication instead
https://cloud.google.com/apigee/docs/api-platform/security/google-auth/overview