-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: 토큰 재발급 로직 수정 #313
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
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough
Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Client
participant UC as UserController
participant US as UserService
participant TS as Token/Auth Logic
C->>UC: PUT /users/optional-info (Cookie: refreshToken)
UC->>UC: refreshToken null 체크
alt refreshToken 없음
UC-->>C: 400 "accessToken not found in cookies"
else refreshToken 있음
UC->>US: putOptional(refreshToken, phoneNumber, consent)
US->>TS: refreshToken 검증/파싱 → userId, role
TS-->>US: userId, role
US->>US: 선택 정보 업데이트 및 토큰 갱신 준비
US->>TS: 기존=refreshToken 기반 토큰 갱신
TS-->>US: AuthenticationResponse
US-->>UC: AuthenticationResponse
UC-->>C: 200 AuthenticationResponse
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (2)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
작업 요약
토큰 재발급 로직 수정
Issue Link
#310
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit