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

"Failed to check login for user"when trying to loggin

I have this error when I try to log in to  a new account:
Capture.PNGr ...

3 answers

What nic said...then you take that token and enter that in as your password. I had the same issue as you and this worked for me. Sounding like loads of people having this issue right now. Token is generated at

1 vote

Yes, you'll need to create a personal access token for this account.

I'm also here for this issue but I'm struggling to apply the token to SourceTree.

If I attempt to update my account(s) within the Options there is no Authentication option for personal access token.  (see below picture)


If I attempt to directly clone a new repository from the URL the prompt login window also has no option for the personal access token (see below picture) 


Some search results went as far as to imply that the password field is where the token value is placed.  In neither scenario has this worked.  I have the latest SourceTree version installed so I'm not sure what I'm missing? 

Can you please walk through the process of taking a personal access token from GitHub and applying it within SourceTree?

The reason I answered was that I ran into exactly the same a few days before. 

As @sullycolivan answered, I entered the token as the password.  I would add that you need to make sure the username you use is identical to the username you generate the token for - I seem to remember I failed the first time because of CaPiTaLs in my username.

Like Sergio.Cardenas likes this
0 votes
Daniel Eads Atlassian Team Nov 20, 2020

Glad you all were able to come upon the answer. Given this has come up a few times, I just wanted to add the info that Github announced earlier this year they'd be disabling passwords over basic auth - and the time they'd make the hard switch (November 13, 2020) was last week. 

There are actually two ways to solve it:

  1. Generate a Personal Access Token in Github and then paste that in place of your Github password in Sourcetree as @Nic Brough _Adaptavist_ and @sullycolivan mentioned
  2. Switch from Basic authentication to OAuth in the Auth type dropdown in Sourcetree for your Github account. Then click the "Connect Account" button to authorize Sourcetree (this should open your browser and just be one click in Github if you're logged in on the web already)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,395 views 127 26
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you