Nango details May 2025 token-refresh bug that broke hundreds of API connections
Nango, an open-source tool that manages third-party API authentication for other companies' apps, merged a code change in May 2025 containing a bug that stopped refreshed OAuth credentials from being saved. The faulty condition persisted for about two hours before being caught and reverted, but by then refresh jobs had already discarded tokens for hundreds of connections. Because providers like Airtable, Atlassian, Salesforce and Slack can invalidate old refresh tokens once a new one is issued, those connections couldn't be repaired automatically and users had to reauthorize manually.
GoKawiil's interpretation of the reporting above, not reported fact.
The incident illustrates how a routine software bug can become unrecoverable when it intersects with security features like refresh-token rotation, since there's no fallback once the old token is invalidated. Nango says it now treats refresh tokens as critical state requiring persistence-first handling and dedicated monitoring, suggesting the company sees this class of bug as a recurring operational risk as it scales to over 1,000 supported APIs. The episode also highlights that OAuth, despite being a shared standard, behaves inconsistently enough across providers that undocumented edge cases only surface in production.
- A May 2025 bug at Nango prevented refreshed OAuth tokens from saving, affecting hundreds of connections within two hours.
- Providers including Airtable, Atlassian, Salesforce and Slack can invalidate old refresh tokens once rotation occurs, making such bugs irreversible.
- Nango has since scaled from about 400 to over 1,000 supported APIs and changed its engineering practices around token persistence and monitoring.
Source: nango.dev, 2026-11-23
Published there as: “What we learned operating auth for 1k APIs”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.