sso

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-sso"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/32f7267a-c0c6-4d8c-82e1-4a842cb71513/social-card.svg?v=3e7ae33eec8b" alt="sso" width="600" height="315"></a>
PUThttps://lucidace.com/v1/orgs/{org_id}/sso/{id}/enforceScope sso:write

Require SSO: password login is refused for users of the connection's verified domains.

Parameters

org_idstringpathrequired
idstringpathrequired

Request body

application/json
enforcedbooleanrequired
{
  "enforced": true
}

Code samples

cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/sso/{id}/enforce" \
  -H "Content-Type: application/json" \
  -d '{"enforced":true}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
404
409 no verified domain yet
POSThttps://lucidace.com/v1/orgs/{org_id}/sso/{id}/verify-domainScope sso:write

Check the DNS proof (`_lucida-challenge.<domain>` TXT equals the connection's `domain_token`).

Parameters

org_idstringpathrequired
idstringpathrequired

Request body

application/json
domainstringrequired
{
  "domain": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/sso/{id}/verify-domain" \
  -H "Content-Type: application/json" \
  -d '{"domain":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "created_at": "2024-01-01T00:00:00Z",
  "default_role": "string",
  "domain_token": "string",
  "domains": [
    "string"
  ],
  "enforced": true,
  "id": "string",
  "jit": true,
  "org_id": "string",
  "protocol": "string",
  "verified_domains": [
    "string"
  ]
}
Schema
created_atstringrequired
default_rolestringrequired
domain_tokenstringrequired
Publish _lucida-challenge.<domain> TXT <domain_token> to verify a domain.
domainsstring[]required
enforcedbooleanrequired
Password login is refused for users of a verified domain.
idstringrequired
jitbooleanrequired
Create the user and membership on first SSO login.
org_idstringrequired
protocolstringrequired
oidc | saml
verified_domainsstring[]required
404
409 proof not found in DNS
Updated