How to get "Get OAuth Token" using script instead of manual click

Venkatesh Janga
Tera Contributor

Hi,

 

 

I am currently working on integrating with the Google Cloud Storage API and have encountered a manual step in obtaining the OAuth token through the "Get OAuth Token" process.

I am seeking guidance on automating this token retrieval instead of relying on manual clicks. While I have successfully authorized it manually, the need to click on the OAuth credential form for updates is cumbersome. I have set up the App provider, entity, and scope for the integration.

Upon research, I found that some have queried the OAuth credential table directly by passing the profile ID. However, I am unsure if this table consistently maintains an updated key.

If anyone has experience with automating the OAuth token retrieval process for Google Cloud Storage API integration and can provide comprehensive details on where to place the script and how to invoke it, I would greatly appreciate the assistance.

Looking forward to your insights and guidance on this matter.

 

Thanks,

Venkat

2 REPLIES 2

Dear Amit,

Thank you for sharing these articles. Unfortunately,  none of the solutions worked for the issue at hand.

Appreciate your assistance.

Thanks,

Venkat