IT story/git

eclipse git : login 반복 현상 : token 베이스 login으로 변경(github 인증 방식 변경)

자랑이다 2021. 8. 23. 12:51
728x90
반응형

eclipse에서 github 자동으로 접근이 되고 있었는데

오늘 team > pull을 실행해보니 login 팝업창 무한반복

Login 무한 반복인 경우

----------------------------------------------------------------------------------------------------

 

 

2021년 8월 13일 기준

github 정책상 계정 패스워드 인증 방식이 

패스워드 토큰 인증 방식으로 변경되었다고 한다.

( 관련 내용 : 아래 링크 참조 )

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

 

----------------------------------------------------------------------------------------------------------

인증 방식 변경방법을 구글링해 보면

이런 결과가 나온다.

 

( github docs에서도 진행 과정을 제공하고 있다. )

https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token

 

Creating a personal access token - GitHub Docs

Personal access tokens (PATs) are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. If you want to use a PAT to access resources owned by an organization that uses SAML SSO, you must authorize the

docs.github.com

 

직접 따라가보자.

 

----------------------------------------------------------------------------------------------------------

1. github login

2. 우측 상단 profile click -> Settings 선택

3. 좌측 메뉴에서 Developer settings 선택

 

4. 좌측 메뉴에서 Personal access tokens > 우측 Generate new token 버튼 선택

5. new personal access token 생성

 

6. 생성된 token copy

 

7. eclipse로 돌아가 user에 계정, password에 새로 생성된 token 값 입력하여 log in

 

728x90

'IT story > git' 카테고리의 다른 글

elipse : git login 반복  (0) 2021.08.23
git 화면 branch 생성  (0) 2021.05.17