Create an SSO enforcement rule for a company.
Companies
Create an SSO enforcement rule for a company.
Creates a rule that enforces SSO for a specific domain. Domain must be unique and cannot overlap with SSO connection domains. Requires same permissions and domain validation as SSO connections.
Access Control Rules
- Company manager of the company OR admin with
manage_companiespermissions. - For company managers: domain must have at least one verified company user email.
POST
Create an SSO enforcement rule for a company.
Documentation Index
Fetch the complete documentation index at: https://docs.cantina.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Body
application/json
Response
SSO enforcement rule created successfully
Ensures that company users can't sign in with email+password auth with email from a specified domain. Such users can sign in through a Google SSO only.