Skip to main content

Identifier-First Login

This is an identifier-first flow where users enter their identifier (email, phone, or username) first. The app then automatically checks for an immediately available passkey accepted for that account. If none is available, the user continues with fallback. The app cannot enumerate which passkeys the current device or credential provider holds. A server record proves that the account has a passkey, but not that the passkey is available here.
Reference implementation: Corbado Passkey Intelligence is one way to identify passkey-enabled accounts and apply this flow. The benchmark checks the resulting login behavior, not the product.
Local and cross-device login: After the user enters their identifier, the server returns allowCredentials for that account. The app first starts an automatic request with preferImmediatelyAvailableCredentials, so the platform checks for an immediately available passkey without opening a QR-code or security-key flow. allowCredentials performs the account filtering. The immediate-credential preference does not.If no credential is available, the user continues with fallback. Products that support cross-device or security-key login can also show an explicit Use another device or security key action. This starts another account-scoped request without preferImmediatelyAvailableCredentials, allowing the operating system to offer its supported QR-code or security-key routes. Keep the stored transport hints in allowCredentials, and test the optional route separately on every supported platform.
1

User enters identifier

  • User types their identifier (email, phone, or username) into the login textfield in the native app.
  • System now knows which user account is attempting to log in.
2

App starts an immediate passkey request

  • The server returns allowCredentials containing the active passkeys accepted for the entered account.
  • On a supported client, the app starts the account-scoped request automatically with preferImmediatelyAvailableCredentials.
  • The user does not need to find and press a separate passkey button.
3

Passkey login or fallback continues

  • If an immediately available credential is offered, the user authorizes it and the server verifies the assertion.
  • If none is available, the request ends without starting a QR-code or security-key journey and the user continues with fallback.
4

Optional cross-device or security-key login

  • Products that support this route show an explicit Use another device or security key action.
  • The action starts another account-scoped request without preferImmediatelyAvailableCredentials and includes the stored transport hints.
  • The operating system can then offer the supported QR-code or security-key route.

Acceptance criteria

The strategy applies where the product collects an identifier before authentication. The automatic route checks for an immediately available account passkey. Cross-device and security-key login are optional explicit routes.

References