There's one of our Repositorys we want to make accessbile in our organization, even for co-workers without a Bitbucket-Account and/or SSH-Key. So we thought about a http-token.
I am able to clone that repo using the created http-token, but i'm unable to write (git push). I tried to achieve that by adding <user>:<token>@ .... to the remote (actually, i cloned it that way, so i just changed that afterwards for Testing)
We're running BB 8.8 on-prem.
thx in advance.
Hi Nils,
If the clone works, the push should work the same way - what happens when you do try to push with a token?
Cheers
Christian
Premier Support Engineer
Atlassian
Hi Christian, thanks for your fast reply :)
from git push i get:
fatal: Authentication failed for 'https://<our-bitbucket-url>/scm/~<my-user>/<my-project>.git/'
I just tried it one more time and am able to pull & fetch, using the origin i wrote. To do that i used the http-clone-address (as suggested by the top left icon in BB) and added '<user>:<token>@' between https:// and the domain. But im unsure because of the character '~' ... it is part of the url but should not be a part of the username. is that correct?
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.