Clear Filters
Clear Filters

Accessing github when having 2 factor authentication enabled

3 views (last 30 days)
Hi all,
I am having trouble when trying to push a commit from Matlab 2019b, it asks me for username and password (which I provide), but then it does not ask for the code that I receive by sms on my phone..As it is, I can't push a commit from Matlab unless I turn off two factor authentication, which I really would not want to do.
Is there a way to work around this issue?
Thank you

Answers (1)

Sam Warner
Sam Warner on 3 Nov 2021
Edited: Sam Warner on 3 Nov 2021
This has been superceded by https://github.com/microsoft/Git-Credential-Manager-Core. Really easy to use. After installing the first Git transaction requests the authentication information, and then stores for the subsequent transactions.
https://devblogs.microsoft.com/devops/git-credential-manager-for-mac-and-linux/

Categories

Find more on Variables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!