Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to login to sourcetree/atlassian with okta?

Sourcetree is now forcing  a login to atlassian however we use jira/confluence etc. via an okta integration.


How can I login to sourcetree?

4 answers

You can use this to create an app password for source tree. My users had had the issue and we bypassed it by creating app password. In fact, not every single app supports OKTA's sso. 

I used this, but for some reason, every week(ish) the app passwords are changed, and source tree loses access again, and I have to generate another pass key.  (trying the SSH key next)

We are facing similar problem. It just shows the repositories when I add a bitbucket account to SourceTree via Okta credentials.

Any update on this??

Finally I started using SSH method to login to sourcetree. Quite frustrating to see such issue exists.

I agree.  Though I am starting to see this as a SourceTree Issue.  I.e. Sourcetree should support Okta, and if it did, that should alleviate the issue here. Or at least that would point the issue back at Atlassian, if their API's don't support 3rd party Okta logins.  (but I assume they do)

The same issue here! I created an App Password but no success yet. Any advice? 

0 votes
Ana Retamal Atlassian Team Aug 02, 2018

Hi Chris, welcome to the Community :) 

As you said, you need to have an Atlassian account to register Sourcetree upon installation. If you have a Bitbucket account, that means you already have an Atlassian account (they share the same credentials). If you don't you can create your Atlassian account via My Atlassian.

Let us know if this helps!

Best regards,


I can only access our atlassian products from our okta login. Ie. I log into okta, and then I can go to jira/confluence. However sourcetree is not an okta application I can access so how do I access sourcetree when I can only login to my atlassian account with okta?

Like # people like this

Anyone find a solution yet?

Unfortunately Atlassian is not interested in fixing this issue. Did you try logging in through SSH key? I did the same and it works perfectly fine.

I have not.  I used atlassian to generate a new password, specifically for Sourcetree options, but it seems Okta forces a refresh every week (ish) which invalidates the stored passwords.  I will try the SSH Key next.

 - Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,263 views 5 14
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