-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
It seems that an access token is only refreshed if it actually expired already, or will expire within the next 1 second:
pipedrive/src/PipedriveToken.php
Line 125 in cc5fee0
return (int) $this->expiresAt - time() < 1; |
This seems to be a very short window given that there can easily be a time difference between systems. Is there a specific reason that this was set to such a short timeframe, or would it be okay to submit a PR to change it to a minute? With the access tokens being valid for 1 hour, that's still plenty of margin.
Metadata
Metadata
Assignees
Labels
No labels