{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-identity-platform/json-schema/google-identity-platform-google-cloud-identitytoolkit-admin-v2-default-supported-idp-config-schema.json",
  "title": "GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
  "description": "Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-identity-platform-projects-api-openapi.yml#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
  "properties": {
    "enabled": {
      "description": "True if allows the user to sign in with the provider.",
      "type": "boolean"
    },
    "clientId": {
      "type": "string",
      "description": "OAuth client ID."
    },
    "name": {
      "type": "string",
      "description": "The name of the DefaultSupportedIdpConfig resource, for example: \"projects/my-awesome-project/defaultSupportedIdpConfigs/google.com\""
    },
    "appleSignInConfig": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig",
      "description": "Additional config for Apple-based projects."
    },
    "clientSecret": {
      "type": "string",
      "description": "OAuth client secret."
    }
  },
  "type": "object",
  "$defs": {
    "GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig": {
      "properties": {
        "codeFlowConfig": {
          "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig",
          "description": "Additional config for Apple for code flow."
        },
        "bundleIds": {
          "items": {
            "type": "string"
          },
          "description": "A list of Bundle ID's usable by this project",
          "type": "array"
        }
      },
      "description": "Additional config for SignInWithApple.",
      "type": "object"
    },
    "GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig": {
      "properties": {
        "privateKey": {
          "type": "string",
          "description": "Private key used for signing the client secret JWT."
        },
        "teamId": {
          "description": "Apple Developer Team ID.",
          "type": "string"
        },
        "keyId": {
          "type": "string",
          "description": "Key ID for the private key."
        }
      },
      "description": "Additional config for Apple for code flow.",
      "type": "object"
    }
  }
}