Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

git clone with https password for google SSO

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.

4 answers

0 votes

For https clone

  • Create an App password, save this somewhere as you cant read it back again
  • On clone, use your username , not your email and the App password as your password when the popup happens

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.

Thanks Martyn. This is a shared host and I cannot put my private ssh cert on it. Thanks.

0 votes
Marty Atlassian Team Feb 17, 2019

Hi Lian,

can you try using ssh instead?


git clone

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events