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

Fix: OauthService.revokeOauth()에서 oidc revoke 요청을 기다렸다가 성공 여부를 반환하도록 수정 #270

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

Jaewon-pro
Copy link
Member

🔗 이슈 연결

🚀 구현한 API

  • /api/v1/auth/oauth/withdraw API에서 탈퇴 성공 여부에 따른 bool 값을 포함하여 반환하도록 수정합니다.

💡 반영할 내용 및 변경 사항 요약

  • 기존에는 비동기로 oidc 제공 서버로 revoke 요청합니다.
    • withDrawEvent가 revoke 성공 여부와 상관없이 발생합니다.
  • 이를 런어스 서버에서 oauth 서버로 revoke 요청을 보내고 기다렸다가 성공 여부를 클라이언트에게 반환하도록 합니다.
    • withDrawEvent를 revoke가 성공했을 때만 발생시킵니다.
  • OauthService.revokeOauth() 메서드에서 성공 여부에 따른 반환값을 추가합니다.

🔍 리뷰 요청/참고 사항

@Jaewon-pro Jaewon-pro self-assigned this Oct 20, 2024
@Jaewon-pro
Copy link
Member Author

빠른 수정을 위해 사전에 합의된 내용을 머지합니다.

@Jaewon-pro Jaewon-pro merged commit 5387fd6 into main Oct 20, 2024
1 check passed
@Jaewon-pro Jaewon-pro deleted the fix/#269/revoke-async-to-sync branch October 20, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant