Brifing

Airbnb's User-Friendly Authentication System

Flexible and secure login experience for millions of users

1The Importance of Authentication at Airbnb

In a two-sided marketplace like Airbnb, a failed login attempt means lost bookings for both guests and hosts. Users access the platform at varying frequencies (some daily, others monthly), requiring a flexible authentication system. The organic growth of the existing system over 10 years and the addition of new login methods necessitated a comprehensive rebuild to address evolving user needs and technical challenges.

2Challenges of the Legacy System

The previous system treated authentication as a binary question: 'Can this person prove who they are?' In reality, user sessions have multiple dimensions. For example, in Brazil, WhatsApp OTP proves more effective than SMS for users who registered with phone numbers, given WhatsApp's dominant market penetration. Similarly, in South Korea, Naver login outperforms Google ID as the preferred identity provider. These regional variations demanded a more nuanced approach.

3New Paradigm: Identify First Then Challenge

Airbnb engineers developed a novel model called 'Identify First Then Challenge,' splitting the flow into two distinct stages. First, users declare their identity via email, phone, or social login. Then, a configurable policy engine selects the verification method most likely to succeed for that specific user context. This approach optimizes user experience while accounting for regional differences and diverse usage patterns across Airbnb's global user base.

4Benefits of Server-Driven Architecture

In the new system, the server—not the client—determines which authentication method to present. This separation enables Airbnb to adjust regional authentication strategies without deploying new client code across various devices. It also significantly accelerates experimentation and improvement cycles. The policy engine, which leverages session and account information, continues to evolve through ongoing optimization efforts.

5Eliminating Dead Ends

The legacy system often left users stranded when a verification method failed. The new system introduces a 'Try Another Way' option on every challenge screen. The server returns not just a primary verification method but also a ranked list of alternatives ordered by predicted success rate for that user's context. This ensures users never face insurmountable barriers when attempting to access their accounts.

6Enabling Rapid Iteration

The server-driven architecture allows Airbnb to enhance authentication experiences quickly. Improvements no longer require waiting through lengthy app review and release cycles. Each flow step—identity input, challenge, account picker, or error recovery—is entirely server-defined. Clients function as thin renderers, displaying screen types and sending back actions without dictating sequence, copy, or flow logic.

7Multi-Platform Support

Airbnb supports nearly every client type available. The server-driven architecture plays a crucial role in preventing inconsistencies and bugs across different platforms. Automatically generated type definitions enable developers to immediately detect mismatches between client code and server requirements during development. This maintains development velocity while ensuring robust multi-platform support.

8Results and Impact

Implementation of the new system yielded significant improvements in authentication success rates. Users encounter fewer obstacles and enjoy smoother platform access. The server-driven approach provides flexibility to deliver personalized verification methods tailored to different regions' preferences. This enhancement has contributed to increased user satisfaction across Airbnb's global marketplace.

9Future Outlook

Airbnb's flexible authentication system not only solves current challenges but also lays groundwork for future innovations. Considerable opportunities remain for optimizing the policy engine. The architecture provides a robust foundation for incorporating new authentication methods and continuously refining existing ones. This positions Airbnb to maintain its balance between security and user experience while supporting ongoing growth.

Original article: The Airbnb Tech Blog - Medium — Airbnb'nin Kullanıcı Dostu Kimlik Doğrulama Sistemi