Skip to content

Conversation

@2heunxun
Copy link
Member

@2heunxun 2heunxun commented Jul 26, 2025

Feat

  • 소셜 로그인 시 Author 자동 생성

    • 소셜 로그인(카카오/네이버)으로 회원이 처음 가입할 경우
      Member 저장 직후 Author 엔티티를 자동으로 생성하여 1:1 매핑되도록 처리
    • Author@MapsId 구조를 사용해 Member의 id를 공유
  • 닉네임 중복 방지 로직 추가

    • 소셜 로그인 시, 이미 동일한 username(닉네임)이 존재하는 경우
    • 0~9999 범위의 랜덤 숫자를 닉네임 뒤에 붙여 중복을 피하도록 개선
      예: 홍길동홍길동42

주요 효과

  • 신규 소셜 가입 시 Author 엔티티를 별도 수동 생성할 필요가 없어짐
  • 소셜 로그인 시 동명이인으로 인한 username 중복 문제 방지

Issue

#21 => 1번 해결

@2heunxun 2heunxun added ⚙️Refactor 빌드, 패키지, 설정 변경 등 자잘한 작업 🛠️ needs-bugfix 버그픽스 필요 labels Jul 26, 2025
@2heunxun 2heunxun requested review from L33gn21 and ysr9517 July 26, 2025 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ needs-bugfix 버그픽스 필요 ⚙️Refactor 빌드, 패키지, 설정 변경 등 자잘한 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants