-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Feature/#2] 소셜 로그인 구현 #4
Merged
Merged
Commits on Aug 10, 2023
-
global/entity 폴더에 created_at, updated_at 필드를 넣는 BaseEntity 클래스를 작성하였습니다.
Configuration menu - View commit details
-
Copy full SHA for fde7784 - Browse repository at this point
Copy the full SHA fde7784View commit details -
DB에 매핑될 User 객체를 생성하였습니다. Kakao, Apple 두 개의 소셜 타입을 구분할 SocialType 필드를 enum Type으로 추가하였습니다.
Configuration menu - View commit details
-
Copy full SHA for 06c234b - Browse repository at this point
Copy the full SHA 06c234bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73d3e7f - Browse repository at this point
Copy the full SHA 73d3e7fView commit details -
feat: OAuthController 생성 및 콜백 메서드 생성
1. 클라이언트가 AccessToken을 전달할 때 접근하는 'POST /auth' 콜백 주소를 연결할 메서드를 생성하였습니다. 2. 컨트롤러 메서드의 request, response dto를 record 클래스로 정의하였습니다.
Configuration menu - View commit details
-
Copy full SHA for 96cf857 - Browse repository at this point
Copy the full SHA 96cf857View commit details -
feat: login 로직을 구현한 OAuthService 생성
1. 팩토리 메서드 패턴을 적용하여 OAuthClient 인터페이스를 provider에 따라 구현체를 매핑하도록 설정하였습니다. 2. OAuthClient에서 소셜 사용자의 정보를 불러오고 User 객체로 변환하였습니다. 3. User가 기 가입한 회원이라면 바로 반환, 그렇지 않다면 DB에 등록 후 반환하기 위해 UserService에서 로직을 구현하였습니다. 4. 마지막으로 회원에 대한 JWT 를 발급하여 반환하였습니다.
Configuration menu - View commit details
-
Copy full SHA for fe524c7 - Browse repository at this point
Copy the full SHA fe524c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b2c0d - Browse repository at this point
Copy the full SHA a5b2c0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b269a29 - Browse repository at this point
Copy the full SHA b269a29View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e9c2b - Browse repository at this point
Copy the full SHA f2e9c2bView commit details
Commits on Aug 11, 2023
-
feat: WebClient를 이용해 카카오 인증서버에서 사용자 추출 (#2)
KakaoClient 구현체에서 WebClient 라이브러리를 사용해 kapi.kakao.com 서버에 접근하여 사용자 정보 (KakaoUserInfo)를 추출하는 코드입니다.
Configuration menu - View commit details
-
Copy full SHA for e2cb482 - Browse repository at this point
Copy the full SHA e2cb482View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3856b6f - Browse repository at this point
Copy the full SHA 3856b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ed31b0 - Browse repository at this point
Copy the full SHA 2ed31b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d03c52a - Browse repository at this point
Copy the full SHA d03c52aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7aedf4 - Browse repository at this point
Copy the full SHA b7aedf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1942876 - Browse repository at this point
Copy the full SHA 1942876View commit details
Commits on Aug 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65b86e6 - Browse repository at this point
Copy the full SHA 65b86e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c04716 - Browse repository at this point
Copy the full SHA 1c04716View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7b187b - Browse repository at this point
Copy the full SHA c7b187bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31fa951 - Browse repository at this point
Copy the full SHA 31fa951View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.