[FIX] 인증 쿠키 프록시 전달 수정 - #40
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 SummarySummary by CodeRabbit
Walkthrough서버 API 클라이언트에 인증 쿠키 이름 선택 옵션을 추가했습니다. 기본값은 Changes인증 쿠키 전달
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to Server proxy requests now forward the access token cookie, while token renewal uses the refresh token cookie, restoring authenticated store-list requests and preserving the intended renewal flow. 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
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. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
ISSUE
close #39
What is this PR?
JWT를 입력해주세요.에러가 반환되던 문제를 수정했습니다.Authorization헤더가 아니라accessToken/refreshToken쿠키를 인증값으로 사용하므로, 서버 프록시 요청에서 백엔드용Cookie헤더를 전달하도록 변경했습니다.refreshToken쿠키명으로 전달되도록 분기했습니다.Screenshot
N/A
Test Checklist
pnpm lintpnpm buildGET /api/stores?page=1&size=10200 응답 확인