We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9b033 commit 809f92dCopy full SHA for 809f92d
core/clients/key_flow.go
@@ -408,7 +408,7 @@ func tokenExpired(token string) (bool, error) {
408
}
409
410
// Pretend to be `tokenExpirationLeeway` into the future to avoid token expiring
411
- // between retrieving the token and using it in the actual request.
+ // between retrieving the token and upstream systems validating it.
412
now := time.Now().Add(tokenExpirationLeeway)
413
414
return now.After(expirationTimestampNumeric.Time), nil
0 commit comments