While accessing the GitHub repository (Eg: git pull or git push) through git bash I was getting below error.
Username for 'https://github.com': prahlad-dutta Password for 'https://prahlad-dutta@github.com': 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.
To fix this issue I found the solution on the forum, here is mentioned the steps to configure the authentication token for GitHub access.
GitHub has removed support for password authentication while working with GitHub repository through git bash from 13 August 2021. Need to use access token instead. Please refer https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
Solution
Create Personal Access Token on Github
- Open GitHub account.
- Go to Settings
- Click on Developer Settings
- Then click on Personal Access Token
- Click on Generate New Token button.
- Now fill the form and click Generate token.
- Now Copy the generated token.
For Windows OS
- Go to Credential Manager from Control Panel
- Click on Windows Credentials
- Now find
git:https://github.com
and click Edit - Replace password with your Github Personal Access Token and save.