Conversation
Test Results 18 files 18 suites 5s ⏱️ Results for commit 92558e3. |
sh0723
approved these changes
Apr 1, 2025
Contributor
sh0723
left a comment
There was a problem hiding this comment.
고생하셨습니다!
은수씨가 말한대로 사용자가 isOAuthAccount를 false하게 하며 password를 null로 하는것은 불가능하긴한데, 그렇게 api를 요청하지 못하는건 또 아니니,, 이럴 땐 어떻게 해야하는지 궁금하긴합니다 ...!
s-hwan
approved these changes
Apr 2, 2025
Contributor
s-hwan
left a comment
There was a problem hiding this comment.
잘봤습니다. 이렇게 수정하면 클라이언트에서 할 일이 많아지는건가요??
뭔가 전체적으로 유저가 예외를 발생 시킬것 같은 부분은 많아보이지 않아서요
hwangjokim
pushed a commit
that referenced
this pull request
Apr 8, 2025
* feat: 소셜 로그인 회원 탈퇴 시 비밀번호 검증 제거 * feat: 회원 정보 조회 시 github 닉네임 응답 추가
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📌 Related Issue
close #362
close be-6
🚀 Description
소셜 로그인으로 회원가입한 유저의 경우, 비밀번호를 설정하지 않아 기존 회원 탈퇴 API를 사용하면 정상적인 탈퇴가 불가능 합니다.
request에
isOAuthAccount를 받아 해당 유저가 소셜 로그인 유저면 비밀번호 검증 없이 즉시 회원 탈퇴가 진행됩니다.소셜 로그인 유저가 아닐 경우 비밀번호 검증 이후에 회원 탈퇴를 진행합니다.
기존 회원 정보 조회 response에도
githubName를 추가해 소셜 로그인한 유저인지 구분하도록 만들었습니다.📢 Review Point
@NotBlank어노테이션을 제거했는데, 만약isOAuthAccount가 false인 채로 password를 null로 전송하면 비밀번호 매칭 메서드에서 NPE가 발생합니다..📚Etc (선택)