fix/ #83 로그인 만료 시 /login 강제 이동 제거#86
Merged
Merged
Conversation
Closed
jychoi0831
commented
Jun 19, 2026
jychoi0831
left a comment
Collaborator
Author
There was a problem hiding this comment.
현재 head commit 3dfbe1d 기준으로 확인했습니다.
Findings
- 없음. 코드 변경 자체에서 merge-blocking finding은 확인하지 못했습니다.
검증
- PASS:
git diff --check origin/develop...3dfbe1d -- - PASS:
git merge-tree --write-tree origin/develop 3dfbe1d(de85c6195ccee2bb5db230b92c2d7fd1d35932c5) - PASS:
npm ci --offline - PASS:
npm run lint(0 errors, 36 warnings) - PASS:
npm run build - PASS: GitHub CI
Lint & Build
Sync 확인
- 대상 레포: BE
- Sync 이슈 기록: 실패
- 기존 Sync 이슈:
prgrms-aibe-devcourse/AIBE5_FinalProject_Team4_BE#120 - 실패 사유: Sync 이슈 본문 조회가
error connecting to api.github.com로 2회 실패했습니다. - 기존 기능 영향: 기존 기능을 즉시 깨는 변경은 아닙니다.
- 수동 조치 필요: BE Sync 이슈 #120에 FE PR #86의 같은-origin 배포 기준을 추가로 기록해야 합니다. 확인 대상은 BE
docs/deploy/aws-setup.md의APP_BASE_URL,FE_BASE_URL, OAuth redirect URI, Nginx/ALB 구조 설명과 BEdeploy/env.prod.example의 운영 URL 주석입니다.
본 리뷰는 Codex를 사용해 작성했습니다.
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.
📌 관련 이슈
Closes #83
🛠️ 작업 내용
로그인 만료 또는 refresh 실패 시 FE가
/login으로 강제 이동하면서 SPA 화면과 OAuth 흐름이 꼬이는 문제를 수정했습니다.운영 배포에서 API/OAuth 경로가 올바르게 처리되도록 Nginx 예시와 배포 문서도 함께 보강했습니다.
✅ 변경 사항
/login으로 강제 이동하던 처리 제거/api/,/oauth2/,/login/oauth2/,/actuator/healthBE 프록시 설정 추가/login등 FE 경로가index.html로 처리되도록 설정 정리VITE_API_BASE_URL및 운영 API/OAuth origin 설정 기준 문서 보강🔍 테스트 내용
npm run lint통과 (기존 warning 36개)npm run build통과git diff --check통과http://localhost:5173/에서 Google 로그인 확인/login으로 튕기지 않고 로그인 모달/메인 화면 상태가 정상 전환되는지 확인📷 스크린샷 (선택사항)
UI 변경 없음
💬 리뷰어에게
같은 origin 배포 기준에서는
/login은 FE SPA 경로로 남기고,/login/oauth2/만 BE로 프록시되어야 합니다.deploy/nginx.conf.example의 프록시 경로와 실제 배포 Nginx 설정이 일치하는지 확인 부탁드립니다.📋 PR 체크리스트
develop브랜치를 base로 설정했나요?