Skip to content

Token Expiry Issue

Compare
Choose a tag to compare
@colinhall17 colinhall17 released this 15 Sep 15:22
· 3 commits to master since this release

In some cases the token check and API call can run over 1 second apart which can cause issues if the token check is at the token expiry time, as the API call fails due to an expired token.

This fixes the issue by renewing the token if there is less than 1 minute of expiry on the token.