You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
vicdelfant
changed the title
Very short margin on refresh
Very short margin on OAuth token refresh
Aug 30, 2024
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
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.
The text was updated successfully, but these errors were encountered: