I am using HTTPS to clone my repo on bitbucket and it asks for password. I use Google SSO to login bitbucket and google password does not work for https git clone. I created an app password and this app password does not work either.
Any idea where I can the password for https git clone? Thanks.
For https clone
I had exactly this problem this morning. SSO to Bitbucket from Google. This apparently means my account does not have a password.
Cloning out my company's repo to a shared machine, I don't have my ssh keys handy, so used the `https://` URL to clone. Of course, there's a password prompt, and _nothing_ worked.
There is no way to just set a password via one's account settings, because you have to put in the non-existant password to change the password that doesn't exist. Catch-22!
I ended up working around this by logging out, then logging in with with my email address instead of SSO. Since there's no password this will never work BUT I was finally able to access a "reset my password" mechanism, and that worked to get a password set. Great! But it's not clear to me if this "logged in with different mechanisms" will cause problems down the road or not. I hope not.
Now that I have an account password, I can get past the password prompt in the the clone operation, only to find out it wants me to use an app password instead. But that's a story for another day.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Martyn. This is a shared host and I cannot put my private ssh cert on it. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Better late than never: https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lian,
can you try using ssh instead?
eg.
git clone git@bitbucket.org:teamsinspace/documentation-tests.git
https://confluence.atlassian.com/bitbucket/clone-a-repository-223217891.html
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.