# remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

**Code:** `password auth removed` · **Category:** Git · **Seen on:** Git

GitHub no longer accepts account passwords for Git over HTTPS.

## Meaning

Use a personal access token (fine-grained or classic), the GitHub CLI / Git Credential Manager, or SSH keys.

## Common causes

- Using your GitHub password in a git prompt
- Old scripts with user:password in URLs

## Quick fix

1. Create a token (Settings → Developer settings → Personal access tokens) and use it as the password
2. Run gh auth login
3. Switch the remote to SSH

## Detailed fix by platform

### Git

1. `git remote set-url origin git@github.com:owner/repo.git`

## How to diagnose

1. **Method** — HTTPS with password?
2. **Recent change** — Did it start after a deploy, upgrade, or configuration change? Compare with the last working version.

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/git/support-for-password-authentication-was-removed)
