Skip to content

MediumScenarioArchitecture, offline and networking scenarios

A token refresh race causes users to be logged out when several requests fail with 401 together. Fix?

What a good answer covers

Serialise refresh behind a single lock or authenticator so one refresh runs, queue other requests until it finishes, then retry them once.

More on Architecture, offline and networking scenarios

Flashcards for this topic