Skip to content

♻️ [Refactor] 인증코드 전송 응답값 변화에 따른 리팩토링 #67

@Seojegyeong

Description

@Seojegyeong

🛠️ Issue Description

백엔드 POST /api/users/email-send API 응답 스펙 변경 사항을 프론트에 반영하고, 관련 로직을 리팩토링합니다.

💭 Cause and effect

기존: 소셜 로그인으로 가입된 이메일로 이메일 회원가입 인증코드 발송 요청 시 이메일 중복 에러 발생
변경: 위 케이스에서 200 OK로 응답, 실제 이메일 발송은 하지 않고 아래 필드로 상태를 전달

  • isProviderLinked === false → 기존대로 인증코드 이메일 발송 플로우 진행
  • isProviderLinked === true → “해당 이메일은 소셜 로그인과 연동됨” 안내 후 로그인 화면으로 redirect, 소셜 로그인 유도

📝 check-lists

  • /api/users/email-send 최신 응답 스펙 반영

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions