---
title: "Flexible Authentication: Reimagining authentication for millions of users at Airbnb"
description: "Airbnb rebuilt login and signup around an \"Identify first then Challenge\" model."
url: "https://swe.quest/articles/flexible-authentication-reimagining-authentication-for-millions-of-users-at-ba6c3fb737afccb7"
canonical: "https://medium.com/airbnb-engineering/flexible-authentication-reimagining-authentication-for-millions-of-users-at-airbnb-3a8a4c917137"
source: "Airbnb Engineering"
published: "2026-08-12"
difficulty: "easy"
kind: "Case study"
reading_minutes: 8
tags: ["identity-auth","product-engineering","system-design","mobile"]
---

# Flexible Authentication: Reimagining authentication for millions of users at Airbnb

A post on [Airbnb Engineering](https://swe.quest/sources/airbnb.md), published 2026-08-12, 8 min read, Case study. Original: [https://medium.com/airbnb-engineering/flexible-authentication-reimagining-authentication-for-millions-of-users-at-airbnb-3a8a4c917137](https://medium.com/airbnb-engineering/flexible-authentication-reimagining-authentication-for-millions-of-users-at-airbnb-3a8a4c917137)

## Summary

Airbnb rebuilt login and signup around an "Identify first then Challenge" model. Users first identify themselves by email, phone or social login, then a server-side policy engine picks the challenge most likely to succeed for that account and context, such as WhatsApp OTP in Brazil or Naver in South Korea. Every screen includes a server-ranked "Try another way" Challenge Picker, so users never hit a dead end. The whole flow is server-driven, with clients acting as thin renderers built on generated types. That design cut client code by 60% and the web bundle by 100KB, enabled 20+ experiments in three months without app releases, raised successful authentication by 2.6%, reduced duplicate accounts by 27% and lowered OTP costs by about 11%.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)

## Prerequisites

- authentication flows ([easy posts on Identity & auth](https://swe.quest/tags/identity-auth.md?difficulty=easy))
- one-time passwords

## Keywords

Airbnb, Flexible Authentication, server-driven UI, OTP, WhatsApp, Naver, Challenge Picker

## Related posts

- [Supporting Passkeys in Shop's Authentication Flows](https://swe.quest/articles/supporting-passkeys-in-shop-s-authentication-flows-83c5b8b12531ab5a.md): Shopify Engineering · 2023-03-24 · Medium · 6 min read · Identity & auth, Ruby, E-commerce
  Shop added passkeys (WebAuthn public-key credentials) to Shop Pay and the Shop app as a phishing-resistant alternative to email/SMS verification codes, using the webauthn-ruby gem in their Rails backend and serving the flow from an iframe so it works on merchant storefronts.
- [Stop Mocking Auth (It’s Breaking Your Tests)](https://swe.quest/articles/stop-mocking-auth-it-s-breaking-your-tests-f37ca9cbb9aaf394.md): Neon · 2025-12-29 · Medium · 8 min read · Testing, Identity & auth, PostgreSQL, CI/CD
  Mocking authentication in tests hides real failures: password hashing and verification, UNIQUE-constraint enforcement under concurrent signups, session handling, and SQL joins between auth and application data.
- [A sandbox doesn't constrain an API Key: What Polsia learned running autonomous companies on Render](https://swe.quest/articles/a-sandbox-doesn-t-constrain-an-api-key-what-polsia-learned-running-autonomous-57778f83154d604e.md): Render · 2026-07-23 · Easy · 5 min read · AI agents, Identity & auth, Sandboxing & isolation, Cost optimization, LLMs
  Polsia, a solo-built platform where AI agents run businesses (outreach, ads, support, engineering) on nightly loops, shared production lessons in a talk at Render's localhost event.
- [Securing your Flutter apps with Multi-Factor Authentication](https://swe.quest/articles/securing-your-flutter-apps-with-multi-factor-authentication-3b61ac67b5f2e6f9.md): Supabase · 2023-05-04 · Medium · 18 min read · Identity & auth, Mobile
  A Flutter app can require TOTP-based multi-factor authentication on top of email/password sign-in using Supabase Auth.
- [How Meta enables de-identified authentication at scale](https://swe.quest/articles/how-meta-enables-de-identified-authentication-at-scale-aba1c4d5d1b717ac.md): Meta Engineering · 2022-03-30 · Medium · 8 min read · Privacy, Cryptography, Identity & auth, Multi-tenancy, Scaling
  Meta's Anonymous Credential Service (ACS) authenticates clients without user IDs by splitting authentication into token issuance over an authenticated channel and unlinkable token redemption over an anonymous channel, built on VOPRFs and blind signatures with an HMAC over business data keyed by a shared secret.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
