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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.