You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The user name or passphrase you entered is not correct. #3263
Trying to connect to GitHub Desktop on Mac OS High Sierra but fails to connect and provides a pop-up screen with the following message "The username or passphrase you entered is not correct".
Version
GitHub Desktop version: 1.0.8
OS version: Mac OS 10.13
Steps to Reproduce
Download GitHub desktop from the official website
Click on Clone repo or preferences to login to GitHub.com
Enter credentials and login
Expected behavior: Login to Github.com and fetch the repositories assigned to the user's account
Actual behavior: Login process is not complete. Give error "The user name or passphrase you entered is not correct."
Reproduces how often: Always (100%)
Logs
2017-11-08T06:07:19.570Z - info: [ui] [Dispatcher] requesting authenticated user
2017-11-08T06:07:21.592Z - info: [ui] [SignInStore] account resolved
2017-11-08T06:07:21.592Z - info: [ui] [AppStore] adding account SilverFoxA (Abhijit Das) to store
2017-11-08T06:07:21.631Z - error: [ui] Error adding account 'SilverFoxA'
Error: The user name or passphrase you entered is not correct.
Additional Information
Reacted by Alexander Rodionov, Tim Chepeleff, PQZM, Alexander Bluhm, santiaago, 星博's Github, mpx412, DX3F8XEDN73F and Giangpro89
I have this problem after I upgraded to macOS High Sierra 10.13.1 (17B48)
Reacted by nathankonrad1, René Pfitzner, Tim Chepeleff, Haiying, Alexander Bluhm, Chloe Foxe, Mike Riemer, Mateusz Klimczak, Yuchen Zhong, Shoxabbos Olimjonov and 2 more
Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, a maintainer will reopen this issue.
Hey, having this same issue. Unable to push to any Github.com repos due to this authentication bug paired with High Sierra. Any idea on a temporary fix?
I'm having an issue now as well. I'm signed into github.com. When I try to clone a repository from a URL, I'm getting an "Authentication Failed" message. When I enter my username and password, I get the same prompt. Locking/unlocking the keychain didn't help.
I am able to login with web browser to githuub. I verified my username and password, but when I try to fetch my repo from Terminal app on OS Mojave I keep getting 'username or password is incorrect' error. I've tried locking/unlocking my keychain, no luck. I have 2 factor authentication enabled, when I login to web I get prompted for a pin sent to my phone, but i see no such prompt from command line login. Is this part of the problem??
Trying to connect to GitHub Desktop on Mac OS High Sierra but fails to connect and provides a pop-up screen with the following message "The username or passphrase you entered is not correct".
Version
GitHub Desktop version: 1.0.8
OS version: Mac OS 10.13
Steps to Reproduce
Download GitHub desktop from the official website
Click on Clone repo or preferences to login to GitHub.com
Enter credentials and login
Expected behavior: Login to Github.com and fetch the repositories assigned to the user's account
Actual behavior: Login process is not complete. Give error "The user name or passphrase you entered is not correct."
Reproduces how often: Always (100%)
Logs
2017-11-08T06:07:19.570Z - info: [ui] [Dispatcher] requesting authenticated user 2017-11-08T06:07:21.592Z - info: [ui] [SignInStore] account resolved 2017-11-08T06:07:21.592Z - info: [ui] [AppStore] adding account SilverFoxA (Abhijit Das) to store 2017-11-08T06:07:21.631Z - error: [ui] Error adding account 'SilverFoxA' Error: The user name or passphrase you entered is not correct.
Activity
shiftkey commentedon Nov 8, 2017
@SilverFoxA a couple of questions to help reproduce the issue:
Can you share a screenshot of the dialog you used to enter your credentials? I want to confirm it's the GitHub flow and not the generic account flow.
Also, does your account have 2FA enabled?
shiftkey commentedon Nov 8, 2017
@SilverFoxA actually, it looks like this error is really helpful:
The source of this error is this function, which is interoperating with the keychain:
desktop/app/src/lib/stores/accounts-store.ts
Lines 96 to 106 in 7412eda
Could something in High Sierra be restricting access to the keychain?
yassermog commentedon Nov 13, 2017
I have this problem after I upgraded to macOS High Sierra 10.13.1 (17B48)
BaldwinLi commentedon Nov 13, 2017
I have same issue after upgraded to macOS Hight Sierra 10.13.1
So far I have not ability to push any code into my repositories, seems very terrible.
nathankonrad1 commentedon Nov 13, 2017
Hey guys, any update on this ?
we are totally in bad situation: cant login (even singing using browser), commit, or any other action.
Can you guys please help ?
joshaber commentedon Nov 13, 2017
@nathankonrad1 That would seem to indicate a problem with the user account, not GitHub Desktop. I'd recommend you contact http://github.com/support.
@yassermog @BaldwinLi Could you provide your logs please?
basheerMalaaAccolade commentedon Nov 13, 2017
I have the same problem
no-response commentedon Nov 14, 2017
Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, a maintainer will reopen this issue.
joshaber commentedon Nov 14, 2017
Whoops, looks like our bot got a little too aggressive. Re-opening.
blong1996 commentedon Nov 14, 2017
Hey, having this same issue. Unable to push to any Github.com repos due to this authentication bug paired with High Sierra. Any idea on a temporary fix?
joshaber commentedon Nov 14, 2017
@blong1996 Could you provide your logs? They should be at
~/Library/Application Support/GitHub Desktop/logs/*.desktop.production.log48 remaining items
bandzejewicz commentedon Oct 30, 2018
I'm having an issue now as well. I'm signed into github.com. When I try to clone a repository from a URL, I'm getting an "Authentication Failed" message. When I enter my username and password, I get the same prompt. Locking/unlocking the keychain didn't help.
mlapeyre3 commentedon Nov 6, 2018
Pro-tip !!
ericgopak commentedon Nov 16, 2018
After locking the keychain I couldn't unlock it 🤦♂️
But after restarting the Mac it got unlocked automatically.
Thanks, it worked!
lcomet commentedon Dec 13, 2018
Awesome! thanks
It works now :)
MasterXKDD commentedon Dec 16, 2018
Dark Messiah
openingax commentedon Jan 4, 2019
@joshaber Worked for me, thank you very much!!!
hotcoder commentedon Mar 7, 2019
@joshaber , tip did not worked for me , any one have still have the issue and got solution
ezradt commentedon Mar 24, 2019
thank you! just what I needed.
Probably the change my computer password made this happen
kentokage commentedon May 1, 2019
worked for me too!
chrisbalchin commentedon May 3, 2019
+1
robindowntivo commentedon May 15, 2019
I am able to login with web browser to githuub. I verified my username and password, but when I try to fetch my repo from Terminal app on OS Mojave I keep getting 'username or password is incorrect' error. I've tried locking/unlocking my keychain, no luck. I have 2 factor authentication enabled, when I login to web I get prompted for a pin sent to my phone, but i see no such prompt from command line login. Is this part of the problem??
robindowntivo commentedon May 15, 2019
I found the answer for my issue here: microsoft/vscode#46964
nikunjgajera commentedon Jun 7, 2019
@joshaber worked for me
TimeLimitless666 commentedon Jul 3, 2024
1atAlcone commentedon Mar 8, 2025