Skip to content

Enterprise

This page covers step-up authentication. The other features a company uses to control and audit how people sign in each have their own guide:

Activity Keeping and exporting activity, and event streams to a security tool.
Shared signals Shared signals tell apps when a session ends, and let a provider sign an actor out.
Single sign-on Providers, sending a domain to its provider, and SAML applications.
Provisioning SCIM from a company directory.
Organizations Organizations, each with its own members, roles, and sign-in.
Manage roles Narrower roles for auditors, support, and security teams.
Sign-in policies Sign-in policies and risky sign-ins.
Custom domains Sign-in from a company’s own host.
Token exchange Exchanging a token for a narrower one.

Some actions need a stronger or fresher sign-in than the session holds, such as moving money.

ID tokens carry auth_time, amr, and acr. The auth_time is the moment the actor gave their first factor, and every ID token from one session carries the same one until the actor signs in again. The acr is the level the sign-in reached: urn:masks:acr:mfa with a second factor, and urn:masks:acr:pwd without one.

A client asks for more on /authorize:

  • max_age or prompt=login asks for a fresh sign-in, which moves the session’s auth_time forward. A later request with the same max_age asks again only once that many seconds have passed.
  • acr_values=urn:masks:acr:mfa asks for a second factor. So does asking for the acr claim in the ID token with only that value in the claims parameter.

When a second factor is asked for:

  • A session that already used one is not asked again.
  • Otherwise masks asks for a second factor the actor holds, or asks them to add one.
  • A request that also accepts urn:masks:acr:pwd is satisfied by a password.

Two settings under Second factor in a sign-in policy do the same for every sign-in:

  • Required for everyone, not just managers makes every actor hold a second factor.
  • Asked again at a sign-in to a client when the session did not use one asks for a second factor before the client receives a code, even when the session started with a password alone.