[DP-537] fix(login): 로그인 시 신규 회원 여부 쿠키에 추가 #168
Merged
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.
📝 작업 내용
DEVDEVDEV_MEMBER_IS_NEW: true / false🔗 참고할만한 자료(선택)
💬 리뷰 요구사항(선택)
UserPrincipal 에 isNewMember 필드를 추가한 이유
OAuth2MemberService.register())과 로그인 성공 후 쿠키를 생성하여 응답에 담는 부분(OAuth2SuccessHandler.onAuthenticationSuccess())이 분리되어 있어, 신규회원 여부를 어떻게 핸들러 쪽으로 전달할지 고민했는데요!