Skip to content

Use OnboardingAuth for withdrawal endpoint#60

Merged
jeyongsong merged 1 commit into
mainfrom
allow-withdrawal-before-onboarding
Jun 3, 2026
Merged

Use OnboardingAuth for withdrawal endpoint#60
jeyongsong merged 1 commit into
mainfrom
allow-withdrawal-before-onboarding

Conversation

@jeyongsong

Copy link
Copy Markdown
Member

This pull request updates the authentication mechanism used for the member withdrawal endpoint in the MemberController. The main change is to use the @OnboardingAuth annotation instead of @Auth for authenticating users making withdrawal requests.

Authentication update:

  • Changed the annotation on the deleteMember endpoint parameter from @Auth to @OnboardingAuth, ensuring that the withdrawal process uses onboarding-specific authentication.
  • Imported OnboardingAuth in MemberController.kt to support the new authentication annotation.Replace @Auth with @OnboardingAuth on the deleteMember parameter to apply onboarding-specific authentication for the /withdrawal endpoint. Added the corresponding OnboardingAuth import; functionality of the memberService call remains unchanged.

Replace @Auth with @OnboardingAuth on the deleteMember parameter to apply onboarding-specific authentication for the /withdrawal endpoint. Added the corresponding OnboardingAuth import; functionality of the memberService call remains unchanged.
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Test Results

109 tests   109 ✅  2s ⏱️
 18 suites    0 💤
 18 files      0 ❌

Results for commit a97f04e.

@jeyongsong jeyongsong merged commit 431be58 into main Jun 3, 2026
3 checks passed
@jeyongsong jeyongsong deleted the allow-withdrawal-before-onboarding branch June 3, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant