Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

이메일 인증 API 생성 #324

Merged
merged 6 commits into from
Dec 26, 2023
Merged

이메일 인증 API 생성 #324

merged 6 commits into from
Dec 26, 2023

Conversation

oliviarla
Copy link
Contributor

@oliviarla oliviarla commented Dec 25, 2023

What is this PR? 👀

  • Issue ticket number:

Changes ✏️

  • 이메일 인증이 가능하도록 합니다.

  • 기존 복잡한 이메일 인증 코드 대신 일단은 UUID에서 앞자리 6자리만 잘라 인증코드로 사용하도록 해봤습니다!

  • Redis의 key에 email을, value에 인증코드를 넣고 10분 후 데이터가 만료되도록 했습니다.

  • 이메일 검증 시 Redis에 존재하는 인증 코드를 확인하여 일치하면 200 OK를 보내도록 합니다.

  • SMTP 설정 가능하도록 변경

  • Redis에 코드 정보 저장

  • 이메일 인증 코드 검증

Test checklist 🧪

  • [ ]

@oliviarla oliviarla merged commit eb7b586 into develop Dec 26, 2023
1 check passed
@oliviarla oliviarla deleted the email branch December 26, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant