Search code examples
google-cloud-platformgcloudgoogle-oauthterraform-provider-gcp

Google Cloud Platform API to configure OAuth2 consent and credentials


The Oauth2 setup help says to use the https://console.cloud.google.com/apis/credentials page to setup credentials for Oauth2. However I can find no documentation on any RESTful or gRPC API to accomplish the same goal. Does anyone know if this exists?

Does anyone know of an API to setup the consent screen?

I use the Terraform Google provider to configure my GCloud platform, does anyone know of a resource to control this?


Solution

  • However I can find no documentation on any RESTful or gRPC API to accomplish the same goal. Does anyone know if this exists?

    There is no public API. Setting up OAuth Client Secrets must be performed in the Console.

    Does anyone know of an API to setup the consent screen?

    There is no public API.

    I use the Terraform Google provider to configure my GCloud platform, does anyone know of a resource to control this?

    If you mean that you want to use Terraform to set up OAuth, since there is no public API, there is no Terraform feature for this.