Block user after a refresh failure #485
Labels
improvement
semver-major
Issues that need a major version bump to be released (i.e. a breaking change)
Milestone
When
RefreshingAuthProvider
receives a request to refresh a token and then fails to do so, it should block all subsequent calls to fetch or refresh a token for that user with a custom error class in order to ensure that no useless API requests are made.Only a call to
addUser
oraddUserForToken
that resolves to that user can unlock them.The text was updated successfully, but these errors were encountered: