Conversation
|
Caution Review failedThe pull request is closed. Walkthrough컨트롤러가 사용자 식별을 OAuth2 사용자 주체에서 쿠키의 accessToken으로 전환했고, 서비스는 accessToken을 받아 사용자 조회·검증 후 새 access/refresh 토큰을 생성·저장하여 AuthenticationResponse로 반환하도록 변경되었습니다. 관련 시그니처와 의존성(TokenService)도 갱신되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant Controller as UserController
participant Service as UserService
participant Repo as UserRepository
participant Jwt as JwtUtil
participant TokenSvc as TokenService
Client->>Controller: PUT /user/optional (Cookie: accessToken, body: phone, consent)
alt accessToken 누락
Controller-->>Client: 401 Unauthorized
else accessToken 존재
Controller->>Service: putOptional(accessToken, phone, consent)
Service->>Jwt: parse userId, role from accessToken
Service->>Repo: findById(userId)
Repo-->>Service: User
Service->>Repo: validate phone uniqueness / update phone & consent
Service->>Jwt: generate new access token
Service->>Jwt: generate new refresh token
Service->>TokenSvc: persist refresh token
Service-->>Controller: AuthenticationResponse(access, refresh)
Controller-->>Client: 200 OK (AuthenticationResponse)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 📜 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 (
|
Merged
This was referenced Dec 15, 2025
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 요약
Issue Link
#310
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit