Hi! I have a problem (Authentification failed error)with clonning repository using Http access token genereted on repository level(token has repository admin permission)
Syntacsis which i use
Hello @Oleh735 ,
thank you for reaching out to Community!
The syntax to clone a repository using an access token is slightly different than the one you shared in the description.
Following is the correct syntax you can use to authenticate the clone operation with a Repository Access Token :
git clone https://x-token-auth:<TOKEN>@bitbucket.org/<workspace>/<repository>.git
You just need to replace the field <TOKEN> with your actual token generated in the repository, and also provide the <workspace> and <repository>. The <token> does not need to be encoded, it's the raw value of the token you received when creating it in the UI.
Thank you, @Oleh735 !
Patrik S
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.