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

[Airbnb](https://yomu.fyi/company/airbnb) · Jose Santos · Aug 12, 2026

## Summary

Airbnb overhauled its login and registration architecture by transitioning to a server-driven framework called Flexible Authentication. The new system separates user identification from verification, using a backend policy engine to dynamically serve the optimal auth challenge and fallback options based on regional and user context. This shift eliminated dead ends, reduced client bundle sizes, and dramatically sped up experimentation velocity across Web, iOS, and Android.

## Takeaways

- Adopting an 'Identify first then Challenge' model lets a server-side policy engine pick the most context-appropriate verification method, such as WhatsApp in Brazil or Naver in South Korea.
- Transitioning to fully server-driven UI screens reduced client authentication code by 60%, cut 100KB from the web bundle, and shortened experiment rollout cycles from weeks to days.
- Always providing a server-ranked fallback list ('Try another way') eliminated auth dead ends, increasing successful logins by 2.6% and reducing duplicate account creation by 27%.

**Tags:** [Architecture](https://yomu.fyi/topic/architecture), [Authentication](https://yomu.fyi/topic/authentication), [Developer Experience](https://yomu.fyi/topic/developer-experience)

[Read original post](https://medium.com/airbnb-engineering/flexible-authentication-reimagining-authentication-for-millions-of-users-at-airbnb-3a8a4c917137)
