Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[고도화] 인증 기능 고도화 - 카카오톡으로 로그인 #96

Merged
merged 8 commits into from
Mar 4, 2023

Conversation

GGHDMS
Copy link
Owner

@GGHDMS GGHDMS commented Mar 4, 2023

인증 방식에 카카오 OAuth2.0 인증 기능을 추가한다

This closes #66

GGHDMS added 8 commits March 4, 2023 21:33
새로운 인증 방식이 추가 되었다 (카카오 인증)
카카오 개발자 문서를 참고하여 OAuth2.0 서비스를 사용하는데 필요한 정보를 정리함
여기서 `client-id`, `client-secret`은 비밀 정보이므로
나중에 외부 환경변수로 넣을 수 있도록 함
카카오 인증 API의 결과값을 효율적으로 사용할수 있도록
자바 class 표현,  동시에 확인 할 수 있도록 테스트 작성
회원 정보를 다루는 로직 구현
조회와 저장을 담당
동시에 테스트 작성
스프링 시큐리티가 기존 DB 인증에다가 OAuth 인증까지 받아들일 수 있도록 설정 추가
해당 변경을 테스트에도 반영
카카오 로그인 단추를 헤더에 추가
카카오 id 가 UUID 로 생성한 random 값이기 때문에 닉네임을 보여주기로 함
@GGHDMS GGHDMS added the enhancement New feature or request label Mar 4, 2023
@GGHDMS GGHDMS added this to the 게시판 서비스 만들기 milestone Mar 4, 2023
@GGHDMS GGHDMS self-assigned this Mar 4, 2023
Copy link
Owner Author

@GGHDMS GGHDMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@GGHDMS GGHDMS merged commit 7dece26 into main Mar 4, 2023
@GGHDMS GGHDMS deleted the feature/#66-kakao-oauth branch March 4, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[고도화] 인증 기능 고도화 - 카카오톡으로 로그인
1 participant