Open
Description
possible bug:
if this check (isBefore
) is evaluated just before token expires, then because of duration of request dispatching and network latency, when the request will come to the requested server it may be already expired.
i see 2 options:
- retry whole process once when 401 will be responded
- add threshold (let say default 10 seconds). then use (expiryInstant - threshold)
Originally posted by @bwiercinski in #46 (comment)
Metadata
Assignees
Labels
No labels