Skip to content
Workforce IdentityMarkdown

Authentication

How your users sign in, with passkeys, passwords and authenticator apps, in the order you choose, and the sessions, lockout and password rules that keep it safe.

Authentication is how a user proves to your realm who they are. Every new realm signs users in with a passkey alone, or with a password followed by a code from an authenticator app, and it requires that second step from the first minute. You can change which methods a realm offers and in what order, how long a session lasts, and how hard the realm pushes back on guessing.

The one idea to hold: a chain decides, a module checks. Each sign-in method is a module that checks one thing, such as a password or a passkey. A chain puts modules in order and says what each answer means for the sign-in. A successful sign-in gives the user a session that records how they signed in, and every app and token the realm issues reads from it.

CapabilityWhat it gives you
PasskeysUsers sign in with a passkey alone, and add more once signed in (with limits)
PasswordsA username and password, checked against the realm’s own users
Authenticator appA six-digit code from an app on the user’s phone, as a second step every user sets up, with a skip you can allow for a set time
Recovery codesOne-time codes that replace a lost authenticator app
Confirm identityBefore a sensitive change, the user shows they still hold their app or a passkey
Password rulesA weak password is refused whenever it is set
Users’ own factorsUsers list their passkeys and apps, and remove one themselves
Pages in the user’s languageSign-in prompts in English, French or German, with your own wording
CapabilityWhat it gives you
Sign-in chainsMethods in order, each with what its answer means
Sign-in modulesEvery module’s name and settings, with their defaults
BranchingAn answer that skips ahead, such as straight to a password for a user with no passkey
Chains every realm starts withA safe sign-in from a realm’s first minute
An administrators’ chainA separate sign-in for the realm’s administrators
Safe return addressesAfter sign-in, a user is sent only to addresses you allow
CapabilityWhat it gives you
SessionsHow long a sign-in lasts, how long it may sit idle, and how many sessions one user holds; the oldest end first
Stronger sign-in in placeA stronger chain before a sensitive action upgrades the same session
LockoutRepeated wrong answers lock the account for a while, even against the right password
Session managementFind a realm’s sessions and end them, each as a sign-out
Who am IOne call returns the signed-in user, their profile, roles and session

Everything else on the way is on What’s next for authentication.