[feat] #6 Google/Kakao 소셜 로그인 구현 - #10
Open
kyoooooong wants to merge 8 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📌 Related Issue
#️⃣ 요약 설명
registrationKey로 회원가입을 완료합니다.📝 작업 내용
azp및 필수sub검증POST /api/v1/auth/login/{provider}로그인 API 구현200 OK와 Kindl access/refresh token 반환202 Accepted와 30분 유효한registrationKey반환POST /api/v1/auth/signup회원가입 API 구현Controller → Facade → Service → Repository계층 분리UserRegistrationService.registerOrReactivate()의REQUIRES_NEW로 한정GETDEL기반 registrationKey 1회 사용 및 30분 TTL 적용(provider, provider_id)유니크 제약과saveAndFlush()기반 동시 가입 멱등 처리deleted_at, 닉네임, 이메일 갱신user.id!!제거👍 동작 확인
./gradlew test --rerun-tasks성공GETDEL, JWT role, 설정값 검증💬 리뷰 요구사항(선택)
REQUIRES_NEW트랜잭션에서 실행합니다.GOOGLE_CLIENT_IDS,KAKAO_CLIENT_IDS목록으로 받습니다.azp도 허용 목록에 포함되어야 합니다.GETDEL)과 운영 DB의(provider, provider_id)유니크 제약을 확인해야 합니다.