Skip to content

Sign-in and domains

Admin → Sign-in

Lucy has no passwords of its own. People sign in through your identity provider (IdP), so joiners, movers and leavers are handled where you already manage them: your MFA, your conditional access, your offboarding. Setup takes about 15 minutes and needs someone who can register an application at your provider.

Part What it is
Identity provider Microsoft Entra ID, Google Workspace, or any OpenID Connect provider (Okta, Keycloak, Authentik and others)
Email domains The domains your people use, each proven with a DNS record
Test sign-in A real trial login that must pass before you can enforce
Enforce Members can sign in only through the provider

The order is always the same: register Lucy at your provider, enter its details in Lucy, claim your domain, test, then enforce.

Lucy shows the redirect URI to register. It is the same for every provider and has a copy button next to it:

https://id.asklucy.eu/idps/callback

Pick your provider below. Each tab lists what to do at the provider and which values to copy back into Lucy.

Official guides: Register an application · Find your tenant ID · Grant admin consent

  1. In the Entra admin center, open App registrations → New registration. Name it “Ask Lucy”.
  2. Under Supported account types, choose this organizational directory only unless you deliberately want any work or school account.
  3. Set the Redirect URI platform to Web and paste Lucy’s redirect URI. Register.
  4. Open Certificates & secrets → New client secret. Copy the secret Value straight away (not the Secret ID), and note its expiry date.
  5. Open API permissions → Add a permission → Microsoft Graph → Delegated and add openid, profile, email and User.Read. Then choose Grant admin consent so nobody is asked at sign-in.
  6. On the Overview page, copy the Application (client) ID and the Directory (tenant) ID.

The Sign-in page with Microsoft Entra ID chosen: the redirect URI to register, then client ID, client secret, directory (tenant) ID and a name for the sign-in page.

In Lucy Copy from Entra
Client ID Application (client) ID
Client secret The secret Value from step 4
Directory (tenant) ID Directory (tenant) ID. Leave it empty to allow any work or school account
Name on the sign-in page Optional, for example “Contoso”

Select Set up to save. The client secret goes straight to Lucy’s identity service as you save, and Lucy never keeps or shows it afterwards.

Email domains: a verified domain with a Remove button, a field to claim another domain, and the switch that makes the provider the only way in.

  1. Enter your domain, for example acme.lu, and choose Claim domain.
  2. Lucy shows a DNS TXT record: the name is _asklucy-challenge.<your domain> and the value starts with asklucy-domain-verification=. Copy both with the copy buttons.
  3. Add the record at your DNS host, wait a few minutes for it to propagate, then choose Verify.
  4. Repeat for every domain your people use.

This proves you own the domain, so nobody else can claim your people. Once a domain is verified, anyone who types an address on it is sent straight to your provider, and gets a Lucy account on first sign-in.

Choose Test next to your provider. Lucy opens a real sign-in at your provider in a window. Sign in with your own account. The result, passed or failed, is shown with the account that signed in, or a one line reason if it failed.

The switch Members sign in only through the provider becomes available once a provider, a verified domain and a passed test all exist. With it on, every other door is closed.

  • Redirect URI registered exactly as shown
  • Client ID and secret saved, secret expiry in your calendar
  • At least one domain verified
  • Test sign-in passed
  • A second admin can sign in
  • Enforce switched on
  • The provider’s secret is stored in the identity service and never shown or kept by Lucy after you enter it.
  • Enforce closes every other door: with it on, a leaked or guessed local login cannot be used.
  • Your own MFA and conditional access policies apply, because the sign-in happens at your provider.
  • Groups from your provider can be used for limits, model access and feature grants.
  • New members who join through the provider are recorded in the audit log.
  • Remove people in your provider and in Lucy: removing them at the provider stops sign-in, removing them in Lucy deletes their data. See Members.

Situation: 400 staff, Microsoft 365 everywhere, a compliance team that wants single sign-on before anyone uses Lucy. Setup: Register the app in Entra with your tenant ID, claim bank.lu, test with a non-admin account, enforce. Result: People type their work address and land at Microsoft, with the MFA and conditional access you already run. No Lucy password exists.

Situation: Okta is the single source of identity; leavers are removed there within the hour. Setup: Create an OIDC web app in Okta, assign the groups allowed to use Lucy, enter the Okta issuer URL, claim the domain, enforce. Result: Removing someone from the Okta group stops their sign-in the same day. Remove them in Lucy too to delete their data.

Situation: The group trades under acme.lu and acme.eu. Setup: Claim both domains with their own DNS records. One provider serves both. Result: Anyone with either address is sent to the same provider, and gets an account on first sign-in.