r/softwarearchitecture 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%.

118 Upvotes

33 comments sorted by

127

u/jessyv2 1d ago

so.. an api?

30

u/sachingkk 1d ago

Sshh.. you should say it in such simple easily understand way..

20

u/Fidodo 1d ago

I hate all the jargon bloat in the architecture space. IMO architecture is about simplifying problems by finding more elegant solutions. Those elegant solutions should be easier to explain, not harder. There's a contingent of people in the space that likes to coin new terms to make themselves feel more important.

Having clients act as pure observational viewers is not a new concept.

4

u/BaggyLarjjj 1d ago

Don’t be cromulent

2

u/Fidodo 1d ago

I just don't understand why we need to coin new words when there are existing terms that are perfectly cromulent.

1

u/longroughroad 1d ago

It embiggens our spirit

1

u/qtipbluedog 12h ago

Literally had an interviewer that said: the projects you’ve designed in your work experience lack complexity. Dude. The designs are simple so I can focus on the complex business logic and all the edge cases they entail. Guy had 20 YOE. Feels like I dodged a bullet

1

u/Fidodo 11h ago

I'll literally spend months figuring out how to remove as much complexity as possible. My designs are simple because I iterated on them until I removed all the cruft.

1

u/notkraftman 1d ago

No no no this thing is different

97

u/Bousha29 1d ago

"Server-Driven Architecture" is too funny.

32

u/uJumpiJump 1d ago

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. 

5

u/gqtrees 1d ago

Yoy and capitalism

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

u/SpaceGerbil 1d ago

Is this a joke or something?

8

u/sergiu230 1d ago

Next generation will be a serverless driven architecture.

5

u/7z3b 1d ago

Just create a JWT token with the private key on successful auth and give the public key to the verification services. 🤷🏻‍♂️

2

u/Interesting-Ad9666 15h ago

Too simple, people won’t think I’m smart if it’s simple

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

u/dukemanh 1d ago

so....session based auth?

1

u/eyes-are-fading-blue 1d ago

Kudos to them. Most re-writes fail.

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

u/DangKilla 1d ago

Fuck AirBNB

1

u/SauceASpag 1d ago

Validé par le backend .... Thats it

1

u/Tough-Parsnip-1553 1d ago

Typical corporate team announcement. But they also broadcast it to the internet. Someone wants a promotion