Discovered the following bug today, repro steps:
- Upgrade to a premium bitbucket account
- Go to a repository that has Git LFS files in it > Settings > Access Keys > Add a key
- Under Settings > Access Management > Access Controls, require 2FA
- Try to use that access key to clone the repo
Expected result: clone repo successfully
Actual result: The SSH request to generate a JWT token works, but there is a 403 error while trying to download the relevant files from git LFS.