5

enter image description here enter image description here I would like to know if is there any terraform resource (or command line) to do the following tasks in Google Cloud Platform (GCP):

  1. Add an authorized DNS domain in API & Services --> Oauth consent screen (please see the attached image/screenshot above).

  2. Add authorized redirect URIs in Client ID for web application (please see another attached image/screenshot above).

The question is due to I need to automate those tasks for a production deployment, but I have not found a way to automate it (preferably using terraforming code, through native resources or null resources), or in any other way.

thanks!

  • Does this answer your question? [Google Cloud Platform API to configure OAuth2 consent and credentials](https://stackoverflow.com/questions/58584516/google-cloud-platform-api-to-configure-oauth2-consent-and-credentials) – ravenwing Jun 25 '22 at 07:47

2 Answers2

3

This must be completed in the Google Cloud Console. There are no public APIs nor CLI commands that provide these features.

John Hanley
  • 74,467
  • 6
  • 95
  • 159
1

I posted this question a few years ago. I wonder if at this time there are any terraform (or command line) resources to do what I described in the original question.

Thanks,