-
Notifications
You must be signed in to change notification settings - Fork 0
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
#32 회원 탈퇴 api #37
#32 회원 탈퇴 api #37
Conversation
애플 소셜로그인 탈퇴, 서버 내 유저 정보 삭제
쿼리파일들은 제가 수정한게 없는데 .......... 왜 같이 File Change가 되었는지 의문 ............... 입니다 ? |
memberRepository.delete(member); | ||
memberAttractionRepository.deleteById(memberId); | ||
memberRegionRepository.deleteById(memberId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기서 유저가 올린 Photo도 같이 삭제해줘야 하는 거 맞나요오 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제 생각엔 유저가 기록했던 정보들을 다른유저가 볼수있는 기능이 있지않는한 삭제하는게 맞다는 생각이 들지만
이건 민영님이 저보단 팀전체에게 요구사항을 구체화 하시는게 가장 좋을것같아요
예를들면 회원 탈퇴하면 방문기록도 삭제할까요? 등의 질문이요.
추가적으로, 회원탈퇴 시 해당 회원의 RefreshToken도 DB에서 제거가 필요해보여요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 네 알겠습니다 우선 refresh token부터 지울게요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
짧은 시간에 하시느라 정말 고생하셨습니다
src/main/java/com/dnd/dndtravel/auth/controller/request/AppleRevokeRequest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/dnd/dndtravel/auth/controller/request/AppleRevokeRequest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/dnd/dndtravel/auth/controller/request/AppleWithdrawRequest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/dnd/dndtravel/auth/service/AppleOAuthService.java
Outdated
Show resolved
Hide resolved
src/main/java/com/dnd/dndtravel/auth/controller/AuthController.java
Outdated
Show resolved
Hide resolved
memberRepository.delete(member); | ||
memberAttractionRepository.deleteById(memberId); | ||
memberRegionRepository.deleteById(memberId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제 생각엔 유저가 기록했던 정보들을 다른유저가 볼수있는 기능이 있지않는한 삭제하는게 맞다는 생각이 들지만
이건 민영님이 저보단 팀전체에게 요구사항을 구체화 하시는게 가장 좋을것같아요
예를들면 회원 탈퇴하면 방문기록도 삭제할까요? 등의 질문이요.
추가적으로, 회원탈퇴 시 해당 회원의 RefreshToken도 DB에서 제거가 필요해보여요
src/main/java/com/dnd/dndtravel/auth/controller/AuthController.java
Outdated
Show resolved
Hide resolved
src/main/java/com/dnd/dndtravel/auth/controller/AuthController.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good
src/main/java/com/dnd/dndtravel/auth/controller/request/AppleWithdrawRequest.java
Outdated
Show resolved
Hide resolved
authorization code max:300
MemberService 충돌 해결
What is this PR? 🔍
애플 소셜 로그인 탈퇴 및 서버 자체 회원 정보 삭제
Changes 📝
애플 소셜 로그인 탈퇴 과정
Screenshot 📷