Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Application Integration - How to obtain the access token (Authorization header) for API Trigger

I have a scenario where I need to get the access token to trigger the API Trigger of Application Integration. I tried to obtain the same in this way:

  
Screenshot (47).pngI am getting the access_token as None even thought the client_id, client_secret and refresh_token are currently set. I am able to get the response by requesting the same information on O Auth Playground as we get the access_token directly there.
 
But, while requesting from my Flask application, I am missing only the access_token (If I hardcode it, I am getting the response. I need to figure out some way in order to get it after every refresh).  It would be great if anyone can help me with how to get the access token using Python snippet for oauth2 authentication to trigger the API trigger of Application Integration.
Solved Solved
0 1 290
1 ACCEPTED SOLUTION

I believe this is a duplicate of your other question. Please refer to Nandan's answer from there for this:
https://www.googlecloudcommunity.com/gc/Integration-Services/Application-Integration-Conversion-from... 

View solution in original post

1 REPLY 1

I believe this is a duplicate of your other question. Please refer to Nandan's answer from there for this:
https://www.googlecloudcommunity.com/gc/Integration-Services/Application-Integration-Conversion-from... 

Top Labels in this Space