Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 2 min read

How Modern Bank Logins Work: Passkeys, 2-Step Verification and Device Trust

Bank sign-in flows are a good real-world example of layered authentication. A big US bank like Chase now offers passwords, one-time codes, passkeys and biometric app sign-in side by side. Here is how those layers fit tog

Bank sign-in flows are a good real-world example of layered authentication. A big US bank like Chase now offers passwords, one-time codes, passkeys and biometric app sign-in side by side. Here is how those layers fit together, from a developer's point of view.

Layer 1: something you know

The classic username and password is still the entry point for most users. The weaknesses are well known: reuse, phishing and credential stuffing. That is why banks rate-limit attempts and lock accounts after repeated failures. Chase Business Online, for example, blocks access after three wrong password tries.

Layer 2: one-time codes (2-step verification)

When a sign-in looks new or risky, the bank sends a one-time code by SMS, email or app push. From an implementation view this is step-up authentication: the risk engine decides when to ask for the second factor instead of asking every time.

A common support issue follows directly from this design: if the phone number or email on file is outdated, the user can never receive the code and gets stuck.

Layer 3: passkeys (WebAuthn)

Passkeys replace the typed password with a public/private key pair. The private key never leaves the device, and the browser only signs a challenge for the correct origin. That origin binding is the important part: a passkey simply will not work on a look-alike phishing domain, which a password happily would.

const credential = await navigator.credentials.get({
  publicKey: {
    challenge: serverChallenge,
    rpId: 'example-bank.com',
    userVerification: 'required'
  }
});

Layer 4: device trust and biometrics

Mobile apps add Face ID, Touch ID or fingerprint sign-in. The biometric check happens on the device and unlocks a stored credential; the bank never receives the biometric data. Marking a phone as a trusted device lets the risk engine skip extra prompts on that device.

What this means for users

  • Type the bank's address yourself instead of following links in emails.
  • Turn on 2-step verification and keep contact details current.
  • Prefer passkeys or biometric sign-in where available.

If you want to see how all these options look from the user side for one bank, including passkeys, 2-step verification setup and lockout fixes, this independent Chase login guide walks through every step.

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.