The organization's sign-in setup
const url = 'https://api.asklucy.eu/v1/org/sso';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.asklucy.eu/v1/org/sso \ --header 'Authorization: Bearer <token>'The identity provider (never its secret), the email domains with their verification state and, for one not
verified yet, the DNS record to add, whether the provider is enforced, and the redirect URI to register at
the provider. 503 sso-unavailable when Lucy has no connection to its identity service for this.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
object
What to register at the provider as the redirect (reply) URI.
object
Microsoft Entra ID, Google Workspace, or any OpenID Connect provider (Okta, Keycloak, Authentik…).
Shown on the sign-in page and in Lucy.
Entra; null means any work or school account.
The OpenID Connect issuer (oidc only).
Members sign in only through the provider.
A provider, a verified domain and a passed test sign-in.
Example
{ "redirect_uri": "https://id.asklucy.eu/idps/callback", "provider": { "kind": "entra", "test": { "status": "passed" }, "updated_by": { "kind": "person" } }, "domains": [ { "domain": "acme.lu", "dns": { "type": "TXT", "name": "_asklucy-challenge.acme.lu", "value": "asklucy-domain-verification=4f1c0e9b2a7d4c6e8b1f3a5d7c9e0b2d" } } ]}Missing, expired or invalid token.
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.
The token is valid but lacks the role this needs.
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.
Storage for this isn’t configured on the server (e.g. …/errors/desktop-unavailable).
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.