Github guidance pages on cc suggests the now deprecated https password authentication

Hello Codecademy forums! I am at 39% in the front-end career path and want clarification on this article/instruction about adding a local repository via git to a repository on github. I’m working on a computer with Ubuntu version 20.04.2 (focal fossa) btw (see the exercise article link below.)
https://www.codecademy.com/paths/front-end-engineer-career-path/tracks/fecp-command-line-git-github/modules/fecp-introduction-to-github/articles/f1-u3-git-setup
In the article, it tells us to use HTTPS as an authetication option but apperently, as of 2021 August 13, using a github password is not valid anymore. I am going to try setting up 2factor authentication in order to connect my local repository to the one I created on github. Maybe I should get a personal access token to enter instead of my github password? But the main point of this post is that I think this exercise may need to be updated and is very confusing at least for Linux users

1 Like

Got the same, so I think it’s for all users (am using MacOS). This change was signalled quite a while ago so updating this is maybe overdue now.

Any particular recommendations for setting up two-factor authentication?

Yeah it is for all users. I would generate an SSH key and use SSH instead of HTTP. This link; to set it up:

And yes this lesson NEEDS TO BE UPDATED

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.