본문 바로가기
프로그래밍/Git & Github

2021년 8월 26일 - remote: support for password authentication was removed on august 13, 2021. please use a personal access token instead 오류 해결법

by 철제백조 2021. 8. 26.

인증 오류

 


 

 

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/XXX/XXX.git/': The requested URL returned error: 403

 

더 이상 비밀번호 인증만으로는 안되고 개인 엑세스 토큰을 만들어서 사용해야 한다

 

 

엑세스 토큰생성


github에 들어가서 아래 사진에 표시된 버튼을 눌러준다.

 

 

 

 

이제 토큰명, 기간, 스코프를 입맛에 맞게 설정하시면 된다.

설정을 완료하시면 아래처럼 토큰이 생성됩니다. 잊어버리지 않도록 잘 보관해야한다.

 

 

토큰 적용하기 - 소스트리


이제 생성한 토큰정보를 아래처럼 붙여주면 해결할 수 있습니다!

https://<토큰 값>@github.com/<사용자명>/<레포지터리명>.git

 

 

정상적으로 푸시가 된다.



출처: https://zangzangs.tistory.com/114 [장장스]

댓글