# REST Resource: projects.tenants.defaultSupportedIdpConfigs

- [Resource: DefaultSupportedIdpConfig](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig)
  - [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants.defaultSupportedIdpConfigs#METHODS_SUMMARY)

## Resource: DefaultSupportedIdpConfig

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

| JSON representation |
|---|
| ``` { "name": string, "enabled": boolean, "clientId": string, "clientSecret": string, // Union field `idp_specific_config` can be only one of the following: "appleSignInConfig": { object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.AppleSignInConfig`) } // End of list of possible types for union field `idp_specific_config`. } ``` |

| Fields ||
|---|---|
| `name` | `string` The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com" |
| `enabled` | `boolean` True if allows the user to sign in with the provider. |
| `clientId` | `string` OAuth client ID. |
| `clientSecret` | `string` OAuth client secret. |
| Union field `idp_specific_config`. IDP settings that are specific to one type of sign-in. `idp_specific_config` can be only one of the following: ||
| `appleSignInConfig` | ``object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.AppleSignInConfig`)`` Additional config for Apple-based projects. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants.defaultSupportedIdpConfigs/create` | Create a default supported Idp configuration for an Identity Toolkit project. |
| ### `https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants.defaultSupportedIdpConfigs/delete` | Delete a default supported Idp configuration for an Identity Toolkit project. |
| ### `https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants.defaultSupportedIdpConfigs/get` | Retrieve a default supported Idp configuration for an Identity Toolkit project. |
| ### `https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants.defaultSupportedIdpConfigs/list` | List all default supported Idp configurations for an Identity Toolkit project. |
| ### `https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants.defaultSupportedIdpConfigs/patch` | Update a default supported Idp configuration for an Identity Toolkit project. |