Return token expiration hint for LFS push

Issue #18638 resolved
Gustavo Gattino staff created an issue

While uploading files to LFS, if the file count is big enough, the authentication token provided by Bitbucket Cloud expires while performing the push. Further tentatives to push the files fails with an error like:

Authentication required: Invalid authentication token

LFS batch API spec supports expiration hints in the response: expires_in and expires_at. Without these attributes LFS client assumes the token never expire.

Comments (3)

  1. Log in to comment