Update SSO configuration
PUT https://app.cyrion.ai/api/company/sso/config
Update SSO configuration for the user's company.
Requires the Enterprise plan and admin role.
Request body:
- sso_type: 'saml' or 'oidc'
- enabled: boolean
- SAML fields: saml_entity_id, saml_sso_url, saml_slo_url, saml_certificate, saml_metadata_url
- OIDC fields: oidc_client_id, oidc_client_secret, oidc_discovery_url
- allowed_domains: list of email domains
- enforce_sso: boolean
- auto_provision_users: boolean
- default_role_id: string
- attribute_mapping: object
Responses
200Successful Response