Skip to content

Domain Management

Configure custom domains for tenants.

Add Domain

curl -X POST http://localhost:8000/api/sso/v1/tenants/TENANT_ID/domains \
  -H "Authorization: Bearer TOKEN" \
  -d '{"domain": "app.acme.com"}'

Verify Domain

curl -X POST http://localhost:8000/api/sso/v1/tenants/TENANT_ID/domains/verify \
  -H "Authorization: Bearer TOKEN" \
  -d '{"domain": "app.acme.com"}'

Remove Domain

curl -X DELETE http://localhost:8000/api/sso/v1/tenants/TENANT_ID/domains/DOMAIN \
  -H "Authorization: Bearer TOKEN"

Domain Verification

Add TXT record to your DNS:

usso-verification=abc123def456

Then call verify endpoint.