. Advertisement .
..3..
. Advertisement .
..4..
I get the “password authentication is temporarily disabled as part of a brownout” issue when trying to use a username and password for pushing my code. Here is the detail of the error that I got this message:
Username for 'https://github.com': shreyas-jadhav
Password for 'https://[email protected]':
remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.
remote: Please see https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/ for more information.
Please give me some advice to solve this problem.
The cause: The commit id is a
hash
that includes such as the commit date and message. This means that if you edit a commit message, you’ll end up with a newhash
. Because your password is no longer valid, the error “password authentication is temporarily disabled as part of a brownout” appears.Solution:
Regenerate and copy your token by going to GitHub Settings > Developer settings > Personal access tokens.
When
git push
on your local repositories, type your username and the createdtoken
as the password.You can use a Git client to cache your
token
instead of manually inputting it for every HTTPS Git operation.Enter the following in a terminal:
Type like the below to modify the default password cache timeout:
Create a new token using GitHub’s developer setting
Change the remote URL
Take one:
You are now good to go.