Github 2FA security key not working (v 2.6.3)


I am using a security key to access my Github Account with 2FA. So I was happy that Sourcetree supports 2FA now.

But when I want to use my security key (not the key from the phone) I get the message "This browser doesn't support security keys - We recommend updating to the latest Google Chrome to start using security key devices".

Is this a local problem on my mac?
How can I fix it?

My Chrome is already on the latest Version.

Thanks for your reply.

OS: Mac
Key: Yubikey

1 answer

1 accepted

1 vote
Accepted answer

Hi Christopher, looks like you're affected by this issue SRCTREE-4664. In the comments you can find an explanation by one of our Sourcetree developers as of why is this happening:

The dialog that loads in SourceTree contains a WebView, an Apple-provided control that uses Safari's WebKit. It loads the appropriate login for the service in use, either Bitbucket or GitHub, proceeds. If there's a requirement for two factor authentication or other things it may require additional interaction, again within that web page, to continue.

The page loaded requires Chrome (which isn't available in SourceTree) because it has certain functionality that other browsers don't related to cryptography. There is no way to make a WebView use another browser, it's WebKit only. There is also no way to embed Chrome within an application.

His recommendation is to use a verification code until Apple adds support for the "FIDO U2F" standard within both Safari and its system-supplied framework, WebKit.

Hope that helps!


Hi Ana,

thanks for your advice.
This helps me.

It was an attempt to change over from personal access token to 2FA. Now I will wait until Apple adds the support for the "FIDO U2F" standard.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

946 views 3 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you