# REST Resource: projects.defaultSupportedIdpConfigs

- [Resource: DefaultSupportedIdpConfig](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig)
  - [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.SCHEMA_REPRESENTATION)
  - [AppleSignInConfig](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.AppleSignInConfig)
    - [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.AppleSignInConfig.SCHEMA_REPRESENTATION)
  - [CodeFlowConfig](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.CodeFlowConfig)
    - [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.CodeFlowConfig.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.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. |

### AppleSignInConfig

Additional config for SignInWithApple.

| JSON representation |
|---|
| ``` { "codeFlowConfig": { object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.CodeFlowConfig`) }, "bundleIds": [ string ] } ``` |

| Fields ||
|---|---|
| `codeFlowConfig` | ``object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.defaultSupportedIdpConfigs#DefaultSupportedIdpConfig.CodeFlowConfig`)`` Additional config for Apple for code flow. |
| `bundleIds[]` | `string` A list of Bundle ID's usable by this project |

### CodeFlowConfig

Additional config for Apple for code flow.

| JSON representation |
|---|
| ``` { "teamId": string, "keyId": string, "privateKey": string } ``` |

| Fields ||
|---|---|
| `teamId` | `string` Apple Developer Team ID. |
| `keyId` | `string` Key ID for the private key. |
| `privateKey` | `string` Private key used for signing the client secret JWT. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/identity-platform/docs/reference/rest/v2/projects.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.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.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.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.defaultSupportedIdpConfigs/patch` | Update a default supported Idp configuration for an Identity Toolkit project. |