Skip to content

googleIdentityPlatformDefaultSupportedIdpConfig

Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.

You must enable the Google Identity Platform in the marketplace prior to using this resource.

Example Usage - Identity Platform Default Supported Idp Config Basic

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.identityPlatformDefaultSupportedIdpConfig.IdentityPlatformDefaultSupportedIdpConfig(
  this,
  "idp_config",
  {
    client_id: "client-id",
    client_secret: "secret",
    enabled: true,
    idp_id: "playgames.google.com",
  }
);

Argument Reference

The following arguments are supported:

  • idpId - (Required) ID of the IDP. Possible values include:

    • appleCom
    • facebookCom
    • gcAppleCom
    • githubCom
    • googleCom
    • linkedinCom
    • microsoftCom
    • playgamesGoogleCom
    • twitterCom
    • yahooCom
  • clientId - (Required) OAuth client ID

  • clientSecret - (Required) OAuth client secret


  • enabled - (Optional) If this IDP allows the user to sign in

  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • id - an identifier for the resource with format projects/{{project}}/defaultSupportedIdpConfigs/{{idpId}}

  • name - The name of the DefaultSupportedIdpConfig resource

Timeouts

This resource provides the following Timeouts configuration options:

  • create - Default is 20 minutes.
  • update - Default is 20 minutes.
  • delete - Default is 20 minutes.

Import

DefaultSupportedIdpConfig can be imported using any of these accepted formats:

$ terraform import google_identity_platform_default_supported_idp_config.default projects/{{project}}/defaultSupportedIdpConfigs/{{idp_id}}
$ terraform import google_identity_platform_default_supported_idp_config.default {{project}}/{{idp_id}}
$ terraform import google_identity_platform_default_supported_idp_config.default {{idp_id}}

User Project Overrides

This resource supports User Project Overrides.