Unable to login into GitHub, the username and password dialog box just keeps on popping again and again.

54 views (last 30 days)
I have created a project and selected Github as my source control. I have validated the remote url. Whenever I decide to push the project, the username and password login dialog box appears. I put the login information, but after that nothing happens. The dialog box just keeps appearing again and again. There is no error description as to why this is happening.
My version is R2020b

Answers (2)

Joshua Himmelstein
Joshua Himmelstein on 29 Mar 2022
Using the Personal Access Token generated here (via Github web) in place of my Github password, I was able to resolve this issue.
Use your Github username for username input. Let me know if this works for you as well!
  2 Comments
Karl_469
Karl_469 on 2 Sep 2022
Thank you for this neat workaround. It works for me.
Have you found a reason/solution for why its not accepting the username and passwort to begin with?
git version 2.37.3.windows.1
Matlab 2020a
Karl_469
Karl_469 on 2 Sep 2022
Wihout double-checking any following information from a youtube Video:
(https://www.youtube.com/watch?v=8X4u9sca3Io)
GitHub stopped accepting username and passwort as authentification for operations such as push, pull in Aug 2021....
Token, SSH keys, Personal Access Keys are valid options for such authentification and, thus, probably all work fine.

Sign in to comment.


Joshua Himmelstein
Joshua Himmelstein on 29 Mar 2022
I am having the same issue, even when attempting to validate the remote URL. I am unable to progress beyond the Manage Files Using Source Control page, despite the Repository path and Sandbox being valid.
Curently using JGit version 5.0.1 and libgit2 version 1.0.0 and Matlan R2020b

Categories

Find more on Software Development Tools in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!