PyCharm Asking for GitHub Login

Viewed 562

I am cloning my Git repository using PyCharm but it is asking for Login again. When I click "Login via GitHub...", it does not login. Then I cloned my repository using git clone, it worked fine. I, then, opened the directory with PyCharm and tried to Update (Pull), it is again asking for login. How to configure this problem?

Here is the Dialogue box which shows: enter image description here

2 Answers

You could try using a token, here are the official docs guiding you through creating one. Its both more secure and convenient.

P.S. not enough rep to comment so I posted as an answer.

It might be due to an old GitHub personal access token (PAT) saved in PyCharm remote settings. I have solved the issue by changing it into a new token.

PyCharm menu bar > Git > Manage Remotes...

In the 'Git Remotes' dialog, you can change URL for origin.

Could you give it a try in this way?

Related