패스워드를 잊은 경우에는 “로그인 할 수 있는 링크”를 이메일로 전송한다.
이메일로 전송된 링크를 클릭하면 로그인한다.

GET /email-login
- 이메일을 입력할 수 있는 폼을 보여주고, 링크 전송 버튼을 제공한다.
POST /email-login
- 입력받은 이메일에 해당하는 계정을 찾아보고, 있는 계정이면 로그인 가능한 링크를 이메일로 전송한다.
- 이메일 전송 후, 안내 메시지를 보여준다.
GET /login-by-email
- 토큰과 이메일을 확인한 뒤 해당 계정으로 로그인한다.
실습
- 시작 커밋: https://github.com/devjun63/whiteship-studyolle/commit/63cc874271a882206f082f195e5ebb05c0d859ce
- 완료 커밋: https://github.com/devjun63/whiteship-studyolle/commit/2b0c9251cebd86f476a8c143ac7dfeb67546765c
32. 닉네임 수정 · devjun63/whiteship-studyolle@63cc874
Permalink This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. Browse files 32. 닉네임 수정 Loading branch information Showing 10 changed files with 194 additions and 15 deletions. +8 −5 s
github.com
33. 패스워드를 잊어버렸습니다 · devjun63/whiteship-studyolle@2b0c925
Permalink This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. Browse files 33. 패스워드를 잊어버렸습니다 Loading branch information Showing 8 changed files with 146 additions and 3 d
github.com
'프로젝트 정리 > 스프링과 JPA 기반 웹 애플리케이션 개발' 카테고리의 다른 글
35. 관심 주제 도메인 (0) | 2022.01.01 |
---|---|
34. 관심 주제와 지역 정보 관리 기능 미리보기 (0) | 2022.01.01 |
32. 닉네임 수정 (0) | 2021.12.29 |
31. ModelMapper 적용 (0) | 2021.12.28 |
30. 알림 설정 (0) | 2021.12.28 |