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

이메일 동의 안 받았을 때 id로 대체 #92

Open
SDB016 opened this issue Nov 7, 2021 · 3 comments
Open

이메일 동의 안 받았을 때 id로 대체 #92

SDB016 opened this issue Nov 7, 2021 · 3 comments

Comments

@SDB016
Copy link
Member

SDB016 commented Nov 7, 2021

No description provided.

@SDB016
Copy link
Member Author

SDB016 commented Nov 7, 2021

5d2c2be

@SDB016
Copy link
Member Author

SDB016 commented Jan 2, 2022

이메일을 통해 멤버 구별 중인데 이메일 정보 제공에 동의하지 않았을 때 email 필드가 null이 되는 문제 발생

해결

  • 이메일 필드에 카카오 또는 구글 클라이언트 id를 대신 기입
  • 이런 경우 마이페이지(회원 정보 상세 조회)에서 이메일 제공 동의 여부를 판별하여 response에 추가 필요함
  • 멤버 엔티티에 @Email 어노테이션 삭제 필요

@SDB016
Copy link
Member Author

SDB016 commented Jan 2, 2022

멤버가 이름 제공 동의를 하지 않았을 경우 이슈 발생

해결

  • join시 랜덤 닉네임을 생성해 필드에 주입 (ex. 명랑한 조랑말)

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

No branches or pull requests

1 participant