Support for password authentication was removed. Please use a personal access token instead.
Shafia Rahman Chowdhury
Posted on July 4, 2023
While pushing some codes into your GitHub repository you may encounter the error "Support for password authentication was removed. Please use a personal access token instead." as shown in the picture below
Starting from August 13, 2021, GitHub has stopped accepting passwords for verifying Git operations on user accounts. Instead, you will need to use a Personal Access Token (PAT) in place of your password. To add a PAT to your system, you can follow the steps outlined below.
Step 1: Go to your GitHub Account and then go to the Settings(click on your profile account and you will find the Settings option there)
Step 2: Scroll down and at the sidebar you will see the Developer Settings option. Click on Developer Settings.
Step 3: Click on Personal access tokens and then click on Tokens (classic)
Step 4: Click on Generate new token and then click on Generate new token (classic)
Step 5: Fill-up the Note field, select No expiration and then select the checkboxes as shown in the picture
Step 6: Click on the Generate token. Your token is created!.
Step 7: Copy the token and paste it on the password field of the terminal.
Your code got successfully pushed into your repository!
However, after applying your token you may face this error.
Visit this blog(https://dev.to/shafia/common-github-issues-beginners-may-face-29bb) and follow the steps given in Error 3 Solution 1.
Happy coding!
Posted on July 4, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
November 30, 2024
November 30, 2024