{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateIdentityProvider",
  "title": "Identity Provider",
  "x-speakeasy-entity": "IdentityProvider",
  "description": "The identity provider that contains configuration data for creating an authentication integration.",
  "type": "object",
  "properties": {
    "type": {
      "$ref": "#/components/schemas/IdentityProviderType"
    },
    "enabled": {
      "$ref": "#/components/schemas/IdentityProviderEnabled"
    },
    "login_path": {
      "$ref": "#/components/schemas/IdentityProviderLoginPath"
    },
    "config": {
      "type": "object",
      "oneOf": [
        {
          "$ref": "#/components/schemas/OIDCIdentityProviderConfig"
        },
        {
          "$ref": "#/components/schemas/SAMLIdentityProviderConfig"
        }
      ]
    }
  }
}