Skip to content

Conversation

@jj0526
Copy link
Collaborator

@jj0526 jj0526 commented Aug 6, 2025

✨ 관련 이슈

🔎 작업 내용

  • 카카오 소셜 로그인 시, 간헐적으로 본인이 아닌 다른 사용자의 정보로 로그인되는 현상이 발생
    • kakaoLogin() 메서드 내에서 이미 영속 상태로 조회된 User 객체에 대해 userSaveService.save(user)를 다시 호출하면서, 내부적으로 JPA의 merge()가 발생
    • 이로인해 병합 시점에 사용자 정보가 잘못되어 다른 사람으로 덮어지는 것으로 유추됩니다


✅ Check List

  • 라벨 지정
  • 리뷰어 지정
  • 담당자 지정
  • 테스트 완료
  • 이슈 제목 컨벤션 준수
  • PR 제목 및 설명 작성
  • 커밋 메시지 컨벤션 준수

@jj0526 jj0526 self-assigned this Aug 6, 2025
@jj0526 jj0526 added the Bug Fix Something isn't working label Aug 6, 2025
@jj0526 jj0526 changed the title Fix #100 카카오 로그인 시 간헐적으로 다른 사용자로 로그인되는 현상 수정 Hotfix #100 카카오 로그인 시 간헐적으로 다른 사용자로 로그인되는 현상 수정 Aug 6, 2025
@jj0526 jj0526 merged commit 32d8d34 into dev Aug 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Fix Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix #100 카카오 로그인 시 간헐적으로 다른 사용자로 로그인되는 현상 수정

2 participants