Fixed - Support for password authentication was removed. Please use a personal access token instead.
GitHub Error — Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
🐧 Problem Report
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access ‘https://github.com/iamnaran/workshop.git/': The requested URL returned error: 403
Solution
Step 1:
Go to https://github.com/ And Navigate to Settings.
Step 2:
Got to Developers Settings Page & Navigate to Personal Access Token.
Step 3:
Generate new token with providing scopes you required.
Final Step:
Update your git remote URL by
git remote set-url origin https://<token>@github.com/<git_url>
Now, try git pull/push.
Everything should be working. 🐧
If this doesn’t work for you. Follow these solutions.