• Home
  • Subscribe
  • Contribute Us
    • Share Your Interview Experience
  • Contact Us
  • About
    • About CSEstack
    • Campus Ambassador
  • Forum & Discus
  • Tools for Geek
  • LeaderBoard
CSEstack

What do you want to Learn Today?

  • Programming
    • Tutorial- C/C++
    • Tutorial- Django
    • Tutorial- Git
    • Tutorial- HTML & CSS
    • Tutorial- Java
    • Tutorial- MySQL
    • Tutorial- Python
    • Competitive Coding Challenges
  • CSE Subject
    • (CD) Compiler Design
    • (CN) Computer Network
    • (COA) Computer Organization & Architecture
    • (DBMS) Database Management System
    • (DS) Data Structure
    • (OS) Operating System
    • (ToA) Theory of Automata
    • (WT) Web Technology
  • Interview Questions
    • Interview Questions- Company Wise
    • Interview Questions- Coding Round
    • Interview Questions- Python
    • Interview Questions- REST API
    • Interview Questions- Web Scraping
    • Interview Questions- HR Round
    • Aptitude Preparation Guide
  • GATE 2022
  • Linux
  • Trend
    • Full Stack Development
    • Artificial Intelligence (AI)
    • BigData
    • Cloud Computing
    • Machine Learning (ML)
  • Write for Us
    • Submit Article
    • Submit Source Code or Program
    • Share Your Interview Experience
  • Tools
    • IDE
    • CV Builder
    • Other Tools …
  • Jobs

[Solved] remote: Password authentication is temporarily disabled as part of a brownout.

Aniruddha Chaudhari/801/0
git

GitHub has deprecated the old way of authentication. Because of that many developers are facing issues while connecting their remote repo on GitHub.

When I try to push the code to the remote branch, I got the following error as I was using the old method of authentication where we have to enter username and password.

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.
 fatal: unable to access 'https://github.com/user-account/example.git/': The requested URL returned error: 403 

I thought of sharing the exact steps I followed to resolve this issue so that it will help you.

As new method of GitHub authentication, you have to use token. Follow the steps below.

Step 1. Get GitHub Token

You have to create personal authentication token.

  • Sign in to your GitHub account (if you have not).
  • Follow the steps to create a personal authentication token.

Note: You can skip the email verification step if you already have email verified.

After following all the steps, you will get the token string. It will be unique for each user and useful for accessing repo remotely on your local system.

Step 2. Update the Repo Origin

You may have old username and URL assigned to the origin of the repo. You need to update that.

Delete old origin value.

$ git remote remove origin

Now create new origin and assign new URL as below.

$ git remote add origin https://<token>A@<github-repo-url>.git

Use the token we got in the first step.

Hurray! You have done.

Step 3. Update Your Local Repo

Do the Git pull and verify if everything is working as expected. Now you don’t have to enter the username and password every time making Git pull/push request.

If you are new to the Git, follow this tutorial to get familiar with the Git.

Any difficulty? Let me know in the comment.

Note: Don’t share your personal token with anyone. Knowing your token anyone can get access to your repo without your acknowledgment.

git
Aniruddha Chaudhari
I am complete Python Nut, love Linux and vim as an editor. I hold a Master of Computer Science from NIT Trichy. I dabble in C/C++, Java too. I keep sharing my coding knowledge and my own experience on CSEstack.org portal.

Your name can also be listed here. Got a tip? Submit it here to become an CSEstack author.

Leave a Reply Cancel reply

Git Tutorial

Git- Introduction

Git- What is Code Repository?

Git- About GitHub

Git- Installation

Git- Essential Git Commands

1. Configuring Git

2. Initializing Git

3. Git Clone

4. Git Checkout

5. Git Add

6. Git Status

7. Git Commit

8. Git Push

9. Git Merge without missing changes

10. Git Revert Commit

Git- Interview Questions

Git Setup

Git- Setup on Ubuntu

© 2022 – CSEstack.org. All Rights Reserved.

  • Home
  • Subscribe
  • Contribute Us
    • Share Your Interview Experience
  • Contact Us
  • About
    • About CSEstack
    • Campus Ambassador
  • Forum & Discus
  • Tools for Geek
  • LeaderBoard