OAuthSwiftAlamofire
OAuthSwiftAlamofire copied to clipboard
Requests while refreshing are not handled properly
If a request comes in with a 401
while token refresh is in progress, the completion handler of retry
is never called and I believe the request just "disappears."
In fact, documentation for retry
states:
The one requirement is that the completion closure is called to ensure the request is properly cleaned up after.