Github 2FA

Hi,

I've 2FA enabled on Github. I've created a token and Pycharm is connected to Gitub by using this token.

When I try to share the project it gets created but the initial commit fails. When I try to push it fails too. In both cases a password gets requested despite I'm connected by a token. Everything I read so far e.g. https://stackoverflow.com/questions/22348093/pycharm-github-push-failed-fatal-authentication-failed/50483478#50483478 didn't help.

How to fix this?

TIA
Matthias

2 comments
Comment actions Permalink

Entering the token as password in the additional login popup fixed this. 

1
Comment actions Permalink

@Mahescho   You are a savior.  I've been pulling my hair on this for the last couple of hours.  I would not have thought to enter the token as password after creating the PAT token specification for github.  Thank you for posting the fix.

0

Please sign in to leave a comment.