Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Which permissions needed for source tree using an APP password?

RobbieRobski
Contributor
January 11, 2019

I'm trying to setup my app password but my first attempt is failing.

I followed the instructions here
https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html

 

I have set full permissions for Repositories and Pull Requests

Failed to check login for user [myuser]
Your credentials lack one or more required privilege scopes.
Your credentials lack one or more required privilege scopes.

Which other group does it need permissions for?

http://prntscr.com/m5y9d9

I've tried adding Projects but I get the same thing

Lastly I even tried all of these http://prntscr.com/m5yanr   and I'm still getting the same privlege scopes messages.

 

Doesn't seem to make a difference if I choose https or ssh

Oath used to work great. And I wouldn't mind having to enter my TFA every session...

5 answers

12 votes
Richard H Tribe
Contributor
May 25, 2021

You will certainly need the Account Read at least as Sourcetree attempts to read your user profile to confirm the credentials are good.

What sort of useless answer is this?? 'Account read at least.. why don't you know exactly what App permissions are required to enable Sourcetree --  Sourcetree is YOUR product

How about you spell out the minimum permissions it requires.  I gave up trying to find the minimum mix and ended up just giving sourcetree app permissions to EVERYTHING so the bloody thing would work.

It's this kind of rubbish support from Atlassian that is why I've migrated most of my gits over to Github.

Pete Wolk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 13, 2022

couldn't have said it better

2 votes
Dylan Jacobs
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2022

Account Read and Repositories Read and Write are required, worked in SourceTree

1 vote
RobbieRobski
Contributor
January 24, 2019

The solution per help desk. Use SSH protocol and not HTTPS.
With SSH it will work either with Basic or OAuth

0 votes
fgiannotti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 24, 2022

Did you clean the file 

%localappdata%\Atlassian\SourceTree\passwd

 

before setting the App Password? If not my SourceTree doesn't work.

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2019

Hi

You will certainly need the Account Read at least as Sourcetree attempts to read your user profile to confirm the credentials are good.

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2019

Also can I ask why you stopped using OAuth?

RobbieRobski
Contributor
January 24, 2019

Because your documentation specifically says to use basic

https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html

Like # people like this
Aaron Lawrence March 14, 2022

Oh, this is hilarious. No response? Are we supposed to use OAuth or Basic with App Password, Atlassian?

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 17, 2022

You will need to use Account:Read and Repositories:Read and Repositories:Write.

I would strongly recommend using OAuth though because it is already configured with the correct permissions.

Aaron Lawrence April 20, 2022

Except it isn't on Mac.

Like Gary likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events