Handling oauth2 token expiration on CircleCI builds

New post



  • jcleblanc

    Hi ,


    The issue here is most likely due to token expiration. Our access tokens will be valid for 60 minutes, then will need to be refreshed. Given that your runs are several hours apart then the token will expire during that time. Our SDKs provide automatic refresh capabilities but if that's not an option in CircleCI then yes, you'll need to manually refresh those tokens every hour.


    - Jon

    Comment actions Permalink
  • Slv_

    Hey , thanks for the insights. This was a problem with the way our rclone config was being stored in regards the box tokens. Solved and now things are working well. Thanks!

    Comment actions Permalink

Please sign in to leave a comment.