Skip to content
Workforce IdentityMarkdown

What's next for authentication

The sign-in features on the way, from email codes and passkey autofill to password reset and external directories, and what to use until each one arrives.

Planned

These sign-in features are planned. None of them is available yet; each says what it will do, how you’ll use it, and what to use today.

A user types their email address and signs in with a one-time code or link sent to it, with no password and no app to install. How you’ll use it: add the email-code method to a chain, as you add any sign-in module, for users who rarely sign in or can’t install an app. What to use today: a passkey gives a sign-in with nothing to type.

The username field offers the user’s passkeys as they type, so a returning user signs in with a passkey without being asked first. How you’ll use it: nothing to set; the sign-in page offers it wherever the browser supports it. What to use today: the realm asks for the username, then offers the user’s passkeys.

A user’s recovery codes stand in for a lost passkey, as they do for a lost authenticator app. How you’ll use it: nothing to set; the passkey step offers Use a recovery code, and the user adds a new passkey once signed in. What to use today: only the authenticator app’s page accepts a recovery code; a user who has lost a passkey signs in with their password and app instead. Ask users to register two passkeys.

Users rename their passkeys and authenticator apps, and make a new set of recovery codes, from their account page. How you’ll use it: users do it themselves from their own pages in the dashboard; the old recovery codes stop working when new ones are made. What to use today: users list their factors and remove a passkey or an app themselves; see Users’ own factors.

A user who has forgotten their password resets it themselves, through a link or code sent to their email. How you’ll use it: turn it on for the realm; the sign-in page then offers a way to reset. What to use today: a realm administrator sets a new password for them through the API (PATCH https://foobar.cvyuh.com/api/v0/am/objects/v1/user/<user> with passwordHash), or the user signs in with a passkey.

Password reuse, expiry and breached passwords

Section titled “Password reuse, expiry and breached passwords”

Refusing a password the user had before, passwords that expire after a time you set, and refusing a password found in known breaches, checked without the password leaving the realm. How you’ll use it: add them to the realm’s password rules, beside the rules you have. What to use today: password rules for length, capitals, digits and banned values, and passkeys in place of passwords.

A different set of password rules for each group of users, such as longer passwords for administrators. How you’ll use it: attach a set of rules to a group, beside the realm’s own. What to use today: one set of password rules for the whole realm, strict enough for your most sensitive users.

Users sign in with an account held in another directory beside the realm’s own. How you’ll use it: connect the directory as an identity source; users sign in with the account they already have. What to use today: bring the users into the realm’s own directory (see Bring users in). Only the realm’s own directory signs users in today.

A user signing in for the first time, for example through another provider, gets a profile made for them. How you’ll use it: choose, in authSettings.userProfile, to create the profile at first sign-in. What to use today: use required (the default) or ignore; the other values are reserved. Create users before they first sign in.

A user signs in with an account at another identity provider, such as their employer’s, over OpenID Connect or SAML 2.0, and the realm links it to their profile. How you’ll use it: register the provider with the realm, then add it to a chain as a sign-in method. What to use today: a partner’s users can reach your APIs through the Identity assertion grant, without signing in to your realm.

The realm signs users in to apps that speak SAML 2.0, as many business apps do. How you’ll use it: register the app with its SAML metadata; users sign in to it with the same session as every other app. What to use today: apps that speak OpenID Connect; see Sign users in to a web app.

The realm checks which maker’s authenticator holds a passkey against a trust chain, so you can allow only the security keys you issue. How you’ll use it: list the authenticator models you allow in the realm’s passkey settings. What to use today: the realm accepts any passkey; it asks for no attestation.

Users sign in to their Windows, macOS or Linux computer with the realm’s users and methods. How you’ll use it: choose which users and methods may sign in to their computers. What to use today: the realm signs users in to apps, in the browser or through the sign-in API.