Closed huan closed 4 years ago
The current design has a bug that only updates access token when there's a request.
However, this implementation will return the old(expired) access token when it starts the access token refreshing, which will cause the first reply will fail.
Need to use a setTimeout to proactive refresh it.
setTimeout
To be fixed.
The current design has a bug that only updates access token when there's a request.
However, this implementation will return the old(expired) access token when it starts the access token refreshing, which will cause the first reply will fail.
Need to use a
setTimeout
to proactive refresh it.To be fixed.