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

[#57] 탈퇴 후 재로그인 문제 수정 #58

Merged
merged 3 commits into from
Nov 1, 2024
Merged

[#57] 탈퇴 후 재로그인 문제 수정 #58

merged 3 commits into from
Nov 1, 2024

Conversation

youngreal
Copy link
Member

Changes 📝

  • WithDrawMember 라는 테이블에 Apple sub값을 저장해 유저의 기존 로그인여부를 확인할 수 있게 개선
  • AppleClient 불필요한 호출횟수 감소
  • 탈퇴를 위한 Apple의 RefreshToken을 응답값에 추가
  • 동작하지 않는 @Valid 동작되도록 수정

추가

  • 가입한 유저수만큼 WithDrawMember 테이블 크기가 커질 수 있음. 탈퇴후 N일 이상된 유저 정보는 주기적으로 삭제한다거나 하는 방식도 고려해 볼 수 있을것 같습니다

* AppleClient 호출횟수 1번으로 최적화(기존 idToken, refreshToken 얻기위해 총2번)
* 탈퇴 후 재로그인 유저를 식별하기위해 AppleId 값을 DB에 저장하는방식 선택
@youngreal youngreal added the enhancement New feature or request label Oct 31, 2024
@youngreal youngreal self-assigned this Oct 31, 2024
@youngreal youngreal linked an issue Oct 31, 2024 that may be closed by this pull request
@youngreal youngreal merged commit 35ae8f8 into main Nov 1, 2024
1 check passed
@youngreal youngreal deleted the feat/#57 branch November 1, 2024 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

탈퇴 후 재로그인 안되는 문제 수정
1 participant