# A two-hour bug at Nango forced hundreds of users to reauthorize their accounts

Original title: What we learned operating auth for 1k APIs

> Hacker News story 50606072 · language: en · submitted 2026-11-23
> Web version: https://zeli.app/story/50606072
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 3 · by [fagnerbrack](<https://news.ycombinator.com/user?id=fagnerbrack>) · 💬 1
[original](<https://nango.dev/blog/lessons-from-operating-api-auth-for-900-apis/>) · [HN discussion](<https://news.ycombinator.com/item?id=50606072>)

## Summary

Nango, an open-source auth platform now covering 1,000+ APIs, describes how a single faulty condition silently discarded refreshed tokens for hundreds of connections. Because providers like Airtable and Slack invalidate old refresh tokens on rotation, the damage was irreversible. The team now treats refresh tokens like money, serializes refreshes behind a distributed lock, and handles undocumented quirks such as missing expiry fields, 200-status auth errors, and providers that break their own auth contracts.

## Key quote

> We now treat refresh tokens like money, not cache.

---

## Cite

- Page: https://zeli.app/story/50606072
- Date: 2026-11-23
- Source: nango.dev (https://nango.dev/blog/lessons-from-operating-api-auth-for-900-apis/)
- Hacker News: https://news.ycombinator.com/item?id=50606072

## Other languages

- zh: https://zeli.app/zh/story/50606072 · markdown: https://zeli.app/zh/story/50606072.md
- ja: https://zeli.app/ja/story/50606072 · markdown: https://zeli.app/ja/story/50606072.md
- ko: https://zeli.app/ko/story/50606072 · markdown: https://zeli.app/ko/story/50606072.md
- de: https://zeli.app/de/story/50606072 · markdown: https://zeli.app/de/story/50606072.md
- es: https://zeli.app/es/story/50606072 · markdown: https://zeli.app/es/story/50606072.md
- ru: https://zeli.app/ru/story/50606072 · markdown: https://zeli.app/ru/story/50606072.md
