Introduction

Method How it works Example
Email Magic Link Server sends a one-time link via email → user clicks to login Slack, Medium
SMS OTP / TOTP One-time code sent via SMS or authenticator app WhatsApp, banking apps
WebAuthn / FIDO2 Public-key cryptography + device Windows Hello, Apple Touch ID, YubiKey
Push Notification Approve login on registered device Duo, Auth0 push login

WebAuthn (FIDO2)

  1. User registers device (e.g., phone, security key)
  2. Public key sent to server, private key stays on device
  3. Login request:
  4. Authentication successful → server issues session / token

// must be a trusted device