r/SoftwareEngineering • u/fagnerbrack • 16d ago
What we learned operating auth for 1,000+ APIs
https://nango.dev/blog/lessons-from-operating-api-auth-for-900-apis
3
Upvotes
r/SoftwareEngineering • u/fagnerbrack • 16d ago
2
u/Nice-Corner9515 16d ago
The empty data on a permissions failure is the part that bothers me most. A failed request gives you something to investigate but an empty result could pass for a quiet day until someone notices records are missing.
4
u/fagnerbrack 16d ago
If you're scanning through:
In May 2025, a bug at Nango discarded refreshed tokens for two hours. Providers like Airtable and Atlassian had already invalidated the old refresh tokens, so users had to reconnect. The team now treats refresh tokens like money: it saves new tokens first and runs one refresh at a time per connection behind a distributed lock. Other lessons: expires_in is optional, so Zendesk and Salesforce tokens die without warning. Zoho, Workday and LastPass report auth errors inside HTTP 200 responses. Figma and Shopify changed auth with little notice, and fixes make up 16% of provider config commits. The post closes with ten requests for API builders, such as always returning expires_in and giving rotated tokens a grace period like Xero's 30 minutes.
If the summary seems inacurate, just downvote and I'll try to delete the comment eventually 👍
Click here for more info, I read all comments
1
u/[deleted] 16d ago
[removed] — view removed comment
1
u/[deleted] 16d ago
[removed] — view removed comment
1
u/[deleted] 16d ago
[removed] — view removed comment