{
 "openapi": "3.1.0",
 "info": {
  "title": "Identity Providers (raw) (Platform)",
  "version": "20261030b",
  "description": "The connection table behind Single Sign-On, as rows. Edit connections under Access → Single Sign-On, where the protocol decides which fields you are asked for."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "identity-providers": {
    "type": "object",
    "required": [
     "code",
     "name"
    ],
    "properties": {
     "id": {
      "type": "string",
      "format": "uuid",
      "description": "Id",
      "readOnly": true
     },
     "org_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org id",
      "readOnly": true
     },
     "code": {
      "type": "string",
      "description": "Provider code"
     },
     "name": {
      "type": "string",
      "description": "Name"
     },
     "protocol": {
      "type": "string",
      "description": "Protocol"
     },
     "vendor": {
      "type": "string",
      "description": "Vendor"
     },
     "issuer": {
      "type": "string",
      "description": "Issuer / entity ID"
     },
     "metadata_url": {
      "type": "string",
      "description": "Metadata URL"
     },
     "client_id": {
      "type": "string",
      "description": "Client ID"
     },
     "client_secret_cipher": {
      "type": "string",
      "description": "Client secret cipher",
      "readOnly": true
     },
     "scopes": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Scopes"
     },
     "attribute_map": {
      "type": "object",
      "description": "Attribute map"
     },
     "default_role_id": {
      "type": "string",
      "format": "uuid",
      "description": "Default role"
     },
     "auto_provision": {
      "type": "boolean",
      "description": "Create a sign-in for new people (Help & Support only)"
     },
     "is_enabled": {
      "type": "boolean",
      "description": "Enabled"
     },
     "org_unit_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org unit id",
      "readOnly": true
     },
     "sso_url": {
      "type": "string",
      "description": "Sso url",
      "readOnly": true
     },
     "slo_url": {
      "type": "string",
      "description": "Slo url",
      "readOnly": true
     },
     "acs_url": {
      "type": "string",
      "description": "Acs url",
      "readOnly": true
     },
     "sp_entity_id": {
      "type": "string",
      "description": "Sp entity id",
      "readOnly": true
     },
     "authorize_url": {
      "type": "string",
      "description": "Authorize url",
      "readOnly": true
     },
     "token_url": {
      "type": "string",
      "description": "Token url",
      "readOnly": true
     },
     "userinfo_url": {
      "type": "string",
      "description": "Userinfo url",
      "readOnly": true
     },
     "jwks_url": {
      "type": "string",
      "description": "Jwks url",
      "readOnly": true
     },
     "redirect_uri": {
      "type": "string",
      "description": "Redirect uri",
      "readOnly": true
     },
     "certificate": {
      "type": "string",
      "description": "Certificate",
      "readOnly": true
     },
     "sign_request": {
      "type": "boolean",
      "description": "Sign request",
      "readOnly": true
     },
     "ldap_url": {
      "type": "string",
      "description": "Ldap url",
      "readOnly": true
     },
     "ldap_base_dn": {
      "type": "string",
      "description": "Ldap base dn",
      "readOnly": true
     },
     "ldap_bind_dn": {
      "type": "string",
      "description": "Ldap bind dn",
      "readOnly": true
     },
     "ldap_user_filter": {
      "type": "string",
      "description": "Ldap user filter",
      "readOnly": true
     },
     "settings": {
      "type": "object",
      "description": "Settings",
      "readOnly": true
     },
     "button_label": {
      "type": "string",
      "description": "Button label",
      "readOnly": true
     },
     "sort_order": {
      "type": "integer",
      "description": "Sort order",
      "readOnly": true
     },
     "is_default": {
      "type": "boolean",
      "description": "Is default",
      "readOnly": true
     },
     "require_verified_domain": {
      "type": "boolean",
      "description": "Require verified domain",
      "readOnly": true
     },
     "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Created at",
      "readOnly": true
     },
     "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Updated at",
      "readOnly": true
     },
     "updated_by": {
      "type": "string",
      "format": "uuid",
      "description": "Updated by",
      "readOnly": true
     },
     "created_by": {
      "type": "string",
      "format": "uuid",
      "description": "Created by",
      "readOnly": true
     },
     "name_id_format": {
      "type": "string",
      "description": "Name id format",
      "readOnly": true
     },
     "idp_initiated": {
      "type": "boolean",
      "description": "Idp initiated",
      "readOnly": true
     },
     "want_encrypted": {
      "type": "boolean",
      "description": "Want encrypted",
      "readOnly": true
     },
     "sp_private_key_cipher": {
      "type": "string",
      "description": "Sp private key cipher",
      "readOnly": true
     },
     "sp_certificate": {
      "type": "string",
      "description": "Sp certificate",
      "readOnly": true
     },
     "role_map": {
      "type": "object",
      "description": "Role map",
      "readOnly": true
     },
     "slo_enabled": {
      "type": "boolean",
      "description": "Slo enabled",
      "readOnly": true
     },
     "clock_skew_seconds": {
      "type": "integer",
      "description": "Clock skew seconds",
      "readOnly": true
     },
     "mfa_mode": {
      "type": "string",
      "description": "Mfa mode",
      "readOnly": true
     },
     "mfa_claims": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Mfa claims",
      "readOnly": true
     },
     "xf_text_1": {
      "type": "string",
      "description": "Xf text 1",
      "readOnly": true
     },
     "xf_text_2": {
      "type": "string",
      "description": "Xf text 2",
      "readOnly": true
     },
     "xf_text_3": {
      "type": "string",
      "description": "Xf text 3",
      "readOnly": true
     },
     "xf_text_4": {
      "type": "string",
      "description": "Xf text 4",
      "readOnly": true
     },
     "xf_text_5": {
      "type": "string",
      "description": "Xf text 5",
      "readOnly": true
     },
     "xf_num_1": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 1",
      "readOnly": true
     },
     "xf_num_2": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 2",
      "readOnly": true
     },
     "xf_num_3": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 3",
      "readOnly": true
     },
     "xf_date_1": {
      "type": "string",
      "format": "date",
      "description": "Xf date 1",
      "readOnly": true
     },
     "xf_date_2": {
      "type": "string",
      "format": "date",
      "description": "Xf date 2",
      "readOnly": true
     }
    }
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/platform/identity-providers": {
   "get": {
    "summary": "list identity-providers",
    "operationId": "list_identity_providers_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "post": {
    "summary": "create identity-providers",
    "operationId": "create_identity_providers_1_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/platform/identity-providers/{id}": {
   "get": {
    "summary": "get identity-providers",
    "operationId": "get_identity_providers_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "put": {
    "summary": "change identity-providers",
    "operationId": "change_identity_providers_1_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "delete": {
    "summary": "delete identity-providers",
    "operationId": "delete_identity_providers_2_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/platform/identity-providers/{id}/copy": {
   "post": {
    "summary": "Copy",
    "operationId": "action_identity_providers_0_6",
    "description": "Body keys: overrides, preview, withLines",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}