The fix that looked obvious, and didn't work
The last post ended on a loose thread. A quiet trickle of fsa events, ten, fourteen an hour, nobody complaining with one warning attached: a traffic spike could turn that trickle into a rate limit, and a rate limit looks a lot like an attack.
So say it happens. Say a launch, a sale, a sudden spike in visitors hits that same storefront. What’s the first thing anyone reaches for?
What looked like the fix
Raise the limit. Or add a retry with backoff. Both are reasonable instincts, the alarm is going off, so you give the system more room before it goes off again. It’s the kind of fix that ships in an afternoon and makes the dashboard go quiet.
It also doesn’t touch the actual problem.
The detail that doesn’t go away
The fsa events weren’t random. They were coming from a storefront that re-checks whether the session is still valid on every page navigation. One stale session, multiplied by however many pages someone clicks through, produces its own pile of silent failures not because anything is attacking the tenant, but because the app is asking the same question over and over, quietly, on a loop it doesn’t know it’s running.
Raising the rate limit doesn’t stop that loop. It just moves the ceiling further away. The checks keep firing at the same pace; there’s simply more room under the new limit before it trips again. Which means the fix doesn’t reduce the problem, it just buys time before the exact same spike trips the exact same alarm, probably at a worse moment than the first one.
I haven’t watched this specific storefront hit that wall yet. I want to be honest about that rather than dress it up as something it isn’t. But the mechanism itself isn’t a guess - an engineer at Auth0, working on exactly this part of the platform, confirmed it directly: a silent auth failure that triggers a fallback, which a single-page app can mishandle into a retry loop, which eventually trips the authentication rate limit. fsa → api_limit, as a real, named chain, not a theory I’m floating.
What it turned out to be, honestly
The actual fix isn’t a dial you turn on the rate limit. It’s in the app itself, stop re-checking the session on every single navigation, or at least respect how long a check is supposed to stay valid before asking again. That’s a different kind of change: smaller in line count, bigger in who has to sign off on it, because it means touching the thing that’s working today, not the thing that’s alarming today.
Which is exactly why the rate-limit fix is the one that gets shipped first. It’s visible, it’s fast, and it makes the immediate symptom go away. The retry loop underneath it doesn’t care.
The part worth sitting with
A fix that makes the alarm quieter isn’t the same as a fix that makes the problem smaller. Sometimes it’s the opposite, it’s a way of postponing the exact failure you were trying to prevent, dressed up as having solved it. The honest version of “we fixed it” is checking whether the thing that was actually looping is still looping, not whether the logs have gone quiet again.
Third in a short series on silent identity failures. Next: the most boring error I’ve seen.