fix: dev(stage) 환경의 refreshToken 쿠키 이름 분리#715
Conversation
- prod와 stage가 동일한 쿠키 도메인을 공유하여 발생하는 로그인 충돌 문제 해결 - 쿠키 이름을 환경별로 분리할 수 있도록 cookie-name 설정 추가
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
Walkthrough
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
상세 변경 내용
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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 |
|
|
||
| token: | ||
| refresh: | ||
| cookie-name: "refreshToken" |
There was a problem hiding this comment.
prod도 명시적으로 prodRefreshToken을 사용하도록 하면 어떨까요 ?
|
|
||
| token: | ||
| refresh: | ||
| cookie-name: "refreshToken" |
관련 이슈
작업 내용
prod 와 stage 의 refreshToken 키 네임이 동일하여 발생하는 로그인 문제를 해결하기 위해 stage 서버의 key name을 stageRefreshToken 으로 수정하였습니다.
특이 사항
리뷰 요구사항 (선택)