ZeroDailyGet it on Google Play
Article illustration: What we learned operating auth for 1k APIs

How an OAuth bug forced users to re-login across hundreds of apps

Original headline: What we learned operating auth for 1k APIs — nango.dev

More in Cybersecurity news

In May 2025, the Nango open-source project merged a code change with a critical bug: an 'if' condition that never executed prevented refreshed authentication credentials from being saved to the database. For two hours before a revert, their system refreshed and discarded OAuth tokens for hundreds of API connections. While many providers allowed recovery using old tokens, several major services—including Airtable and Atlassian—permanently invalidate old refresh tokens when new ones are issued, a process called token rotation.

The bug revealed that token rotation, while a security best practice, transforms what would normally be a recoverable data glitch into a permanent service outage. For affected connections using these strict providers, there was no technical recovery possible; end-users had to manually reauthorize their accounts through consent screens. This incident forced Nango to fundamentally change their approach to token handling, treating refresh tokens as critical persisted data rather than temporary cache, and implementing immediate pagers for any refresh anomalies. The key lesson: OAuth standards are implemented inconsistently across providers, and undocumented behaviors only surface when things break in production.

Read the original at nango.dev

Satirical commentary on real tech news, summarised with AI. Read the original source for the facts. How ZeroDaily works

Open in the appGet it on Google Play

More stories

Add ZeroDaily on Google