Repository navigation
Conversation
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
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.
🔀 Pull Request
1. 작업 내용
이메일 인증번호 발송 및 검증 기능을 구현하고, 이메일 인증을 완료한 사용자만 회원가입할 수 있도록 기존 회원가입 기능과 연동했습니다.
주요 변경 사항
2. 구현 상세
구현 방식
설계 및 기술적 결정
3. API 변경 내역
POST/auth/email/sendPOST/auth/email/verifyPOST/auth/signupRequest / Response
이메일 인증번호 발송 요청
{ "email": "user@example.com" }이메일 인증번호 검증 요청
{ "email": "user@example.com", "code": "123456" }이메일 인증 성공 응답의
data예시{ "email": "user@example.com", "verified": true, "expiresIn": 600, "verificationToken": "<발급된 인증 토큰>" }회원가입 요청 예시
{ "email": "user@example.com", "password": "Password123!", "passwordConfirm": "Password123!", "nickname": "사용자", "verificationToken": "<발급된 인증 토큰>" }※ 기존 회원가입 API에
verificationToken필드가 추가되어 이메일 인증 완료 후 회원가입할 수 있습니다.4. 데이터 및 인프라 영향
MAIL_USERNAME,MAIL_PASSWORD,EMAIL_VERIFICATION_SECRET환경변수 필요ddl-auto: update에서validate로 변경spring-boot-starter-data-redis추가spring-boot-starter-mail추가verificationToken필수 추가5. 테스트 결과
검증 내용
git diff --check통과6. 리뷰 포인트
7. 배포 참고 사항
배포 전 확인:
MAIL_USERNAME,MAIL_PASSWORD,EMAIL_VERIFICATION_SECRET,JWT_SECRET환경변수 설정verificationToken필드 반영ddl-auto: validate적용에 따른 DB 스키마 일치 여부 확인배포 후 확인:
롤백 고려사항:
verificationToken필수 조건도 함께 복원해야 함8. 관련 이슈
해당 없음
✅ Merge Checklist