[Feat/save refresh token at test login] - 테스트 로그인 시 리프레시 저장#88
Conversation
WalkthroughA dependency on Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant TestAuthService
participant TokenRefreshService
Client->>TestAuthService: login(userId)
TestAuthService->>TestAuthService: generate token pair
TestAuthService->>TokenRefreshService: putRefreshToken(userPublicId, refreshToken)
TokenRefreshService-->>TestAuthService: (ack)
TestAuthService-->>Client: TestAuthResponse(token pair)
sequenceDiagram
participant Client
participant API
participant TestAuthService
participant TokenRefreshService
Client->>API: POST /api/v1/auth/test/login (userId)
API->>TestAuthService: login(userId)
TestAuthService->>TokenRefreshService: putRefreshToken
TestAuthService-->>API: TestAuthResponse(token pair)
API-->>Client: { access_token, refresh_token }
Client->>API: POST /api/v1/auth/refresh (Authorization: refresh_token)
API->>TokenRefreshService: validate refresh_token
TokenRefreshService-->>API: (valid)
API-->>Client: { new access_token, new refresh_token }
Poem
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
작업내역
새로운 구현체를 만들때 일련의 로직이 빠지는 휴먼에러가 발생하는 것 같습니다.
Summary by CodeRabbit