Fixed - Support for password authentication was removed. Please use a personal access token instead.

Narayan Panthi
2 min readAug 15, 2021

--

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.

Please use a personal access token instead

--

--

Narayan Panthi
Narayan Panthi

Written by Narayan Panthi

Software Engineer | Writes about Android |🇳🇵

Responses (1)