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.
#️⃣연관된 이슈
📝작업 내용
이메일 인증
->로그인
->로그인 결과 isMember이 false면 회원가입창으로 이동, 닉네임 입력받음
->회원가입 후 다시 로그인, 토큰 발급받아 localStorage와 cookie에 저장
로그인 시 response body로 userId, userName, email이 오는데 프론트에서 어떻게 활용하는지 자세히 모르겠어서는 따로 상태관리로 저장해두진 않았어요 userStore 등에서 필요하면 저장해서 쓰시면 될 것 같아요
스크린샷 (선택)
💬리뷰 요구사항(선택)
그리고 api/auth/sign-in에서 발급된 jwt에 userId가 없길래 로그인 후에 기존 토큰발급(로그인) api api/auth/login에서 토큰 새로 발급해서 넣었습니다..
그리고 member 서버 volume이 없어서 일부러 저장되고 곧 만료되게 해두신건가요??
그리고 가끔 이메일 인증코드 전송이 안되는 문제가 있는데 서버 껐다 키면 되더라구요