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

애플 회원 탈퇴 시 애플 서버에서 삭제하는 로직 구현 #666

Open
3 tasks done
Mingyum-Kim opened this issue Oct 16, 2024 · 5 comments
Open
3 tasks done
Assignees
Labels
BE 백엔드 관련 이슈입니다. 🌱 기능추가 feature (새로운 기능 구현)

Comments

@Mingyum-Kim
Copy link
Contributor

Mingyum-Kim commented Oct 16, 2024

문제 정의

이 작업을 통해 해결하려는 문제를 정의하세요.

애플 회원 탈퇴 시 애플 서버에서 삭제하는 로직 구현

액션 아이템

문제를 해결하기 위해 필요한 액션 아이템을 입력하세요.

  • 코드를 사용해 refresh token을 가져온다.
  • 회원 탈퇴 시 refresh token을 전달해 회원을 revoke한다.
  • DB에서 회원을 삭제한다.

내용

결과물, 참고사항 등을 입력하세요. (ex. PR, 문서 링크)

@Mingyum-Kim Mingyum-Kim added BE 백엔드 관련 이슈입니다. 🌱 기능추가 feature (새로운 기능 구현) labels Oct 16, 2024
Mingyum-Kim added a commit that referenced this issue Oct 18, 2024
회원 탈퇴 시 애플 서버에게 회원 권한 삭제를 요청하는 기능 구현
@Mingyum-Kim
Copy link
Contributor Author

Mingyum-Kim commented Oct 18, 2024

image

리프레시 토큰 받아와지는 거 잘 확인했구요

@Mingyum-Kim
Copy link
Contributor Author

image

revoke 요청도 정상적으로 수행됩니다

@Mingyum-Kim
Copy link
Contributor Author

image

하지만 여전히 재가입 시 애플에서는 user 정보를 주지 않아요 ㅠ

@Mingyum-Kim
Copy link
Contributor Author

DELETE https://appleid.apple.com/account/manage/security/apps/site.mouda.app
content-type: application/json
image

실제로 애플에서 사용 중단 API를 관찰하면 이런 요청이 가는데요 .. 이걸 우리 서비스에서 자체적으로 보낼 수 있는 건지 모르겠습니다.

@Mingyum-Kim
Copy link
Contributor Author

회원 탈퇴의 경우 논리 삭제로 구현하곘습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드 관련 이슈입니다. 🌱 기능추가 feature (새로운 기능 구현)
Projects
None yet
Development

No branches or pull requests

2 participants