-
SourceTree 무한 로그인창에 시달릴 때 (인증 문제)ETC 2022. 6. 27. 19:28
Problem
GUI로 안되길래 정확한 원인을 파악하기 위해 터미널을 열어서 git pull을 시도해 보았다.
커맨드에서는 해당 링크를 참고하라는 메시지를 주어서 읽어보았다.
https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/
Token authentication requirements for Git operations | The GitHub Blog
Beginning August 13th, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com.
github.blog
Searching
In July 2020, we announced our intent to require the use of token-based authentication (for example, a personal access, OAuth, or GitHub App installation token) for all authenticated Git operations.
personal access 혹은 OAuth/GitHub 에 의한 토큰으로만 인증이 가능하다고 나와있다.
Beginning August 13, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com.
또한, 이메일/비밀번호로 인증을 할 수 있었던 것은 2021년 8월 13일 이후로는 사용할 수 없게 되었다고 한다.
Try
그래서 나는 아래의 블로그를 통해서 우선 personal access token 을 발급 받았고
https://curryyou.tistory.com/344
GitHub 토큰 인증 로그인: Personal Access Token 생성 및 사용 방법
Git Hub에서 ID/PW기반의 Basic Authentication 인증을 금지하고, ID/Personal Access Token 방식의 Token Authentication 인증을 요구하고 있다. 앞으로는 소스코드를 push/clone하려고 하면, 아래와 같은 문구..
curryyou.tistory.com
SourceTree에서 여전히 pull을 해도 로그인창이 뜨기에 다시 터미널을 열어서 git pull을 시도했다.
위와 같이 Username 을 입력하라고 하기에 GitHub 메일주소를 입력했다. 성공할 줄 몰랐기에 캡쳐는 못했는데 그 이후 SSH Password를 인증하라는 창이 뜬다. 거기에 토큰을 붙여넣기했다.
Result
무사히 성공!!! 지금은 잘 된다!
'ETC' 카테고리의 다른 글
Windows Update 멈추는 오류 발생 시, 해결 방법 (0) 2023.07.30 Window CMD Process Kill (0) 2023.03.31 OpenJDK Install (0) 2023.02.21 GitHub 이력을 지우고 싶을 때 (0) 2022.07.25 개발할 때, 유용한 크롬 확장 프로그램 (0) 2021.02.10