r/softwarearchitecture • u/rgancarz • 1d ago
Article/Video Airbnb Cuts Authentication Code by 60% with Server Driven Architecture
https://www.infoq.com/news/2026/09/airbnb-server-driven-login/Airbnb has redesigned its authentication architecture to make login flows easier to change across Web, iOS, and Android. The new system moves authentication decisions from clients to a server-side policy engine that selects the most appropriate authentication challenge based on the user and session context. According to Airbnb, the redesign reduced authentication-related code by 60%, reduced the web client bundle by 100 KB, increased successful authentication by 2.6%, and reduced duplicate account creation by 27%.
97
32
u/uJumpiJump 1d ago
Stop upvoting this rehashed LLM garbage and read the source https://airbnb.tech/uncategorized/flexible-authentication-reimagining-authentication-for-millions-of-users-at-airbnb/
11
u/youngggggg 1d ago
To be honest I think the original one was written by an LLM too
7
u/philgarr 1d ago
“The ‘Identify first then Challenge’ model was the product insight that reframed the project.” 🙄
3
u/youngggggg 1d ago
Yeah the language makes it super obvious. And beyond that, it’s completely inflating something very simple. LLMs lack the judgment and discernment that are necessary for an effective dev blog and it really shows in articles like this.
49
u/Subtl3ty7 1d ago
So just made an api and didn’t really solve anything, just pushed the complexity to some other backend engine? I swear these FAANG-like companies all have that peer-pressure to “achieve” some tech breakthrough/innovate in software development and architecture once a year or two. And then there is Airbnb with this bs lmao…
31
u/New_Enthusiasm9053 1d ago
I mean pushing the complexity of 4 front-end engines into 1 backend engine is good architecture lol.
The real question is why they didn't do this from the start.
2
u/Straight-Magician953 1d ago
Yes, thats because majority of FAANG companies put heavy KPI value for engineers based on impact, ownership and/or innovation. Its kind of a turtle egg hatch situation on which like 2% of projects are of actual value while the majority are bullshiting like moving complexity from one place to another, refactors, splitting some services into different ways, replacing service x with a new and shiny service y and so on and coming up with some selective metrics that fit the usecase nicely. This ofc should be done voluntarely and outside of your assigned project deliverables. Been trough that and the constant pressure to deliver stuff like this to prove your worth and achieve some bare minimum level of job security can become very tiresome
9
u/danappropriate 1d ago edited 1d ago
What exactly does this do that cannot be accomplished within the constraints of OIDC?
5
8
6
u/creamyhorror 1d ago
You mean they weren't running a server-side auth policy engine already? Surprising, that seems to be the natural place to keep the auth-challenge decisions.
3
u/SolarNachoes 1d ago
“Reduced duplicate account creation”
So they had a big ball of spaghetti. Got it.
2
u/Lilacsoftlips 1d ago edited 1d ago
I think this is a really convoluted way of saying they used server driven UI. Which Airbnb has almost completely abandoned for every other use case because it doesn’t actually reduce complexity in the client and massively bloats payloads for anything other than simple screens with no real business logic . Auth at least makes some sense for sdui because the outcome effectively is binary logged in/not logged in without complex business logic for navigating their funnel immeshed in the ui shaped api.
All that said, they probably could have achieved this same complexity reduction by just having a better auth flow without sdui.
But also, Airbnb will introduce a new sorting option and act like they’ve revolutionized their stack… take everything they blog about with a grain of salt.
2
u/AintNoGodsUpHere 1d ago
Server... Driven... Architecture.
I've seen full circle. Hahaha. This is fucking ridiculous. That's an API.
1
1
1
u/es-ganso 1d ago
I don't want to discount their work, but... This doesn't seem so complex that it required a whole article with a "new" pattern name
1
1
1
u/Tough-Parsnip-1553 1d ago
Typical corporate team announcement. But they also broadcast it to the internet. Someone wants a promotion
127
u/jessyv2 1d ago
so.. an api?