-
Notifications
You must be signed in to change notification settings - Fork 1
[FIX] #213 : logout 404 에러 수정 #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough인증 필터의 우회 대상 경로가 광범위한 프리픽스(/api/v1/auth/**)에서 구체적 엔드포인트 목록으로 축소되었고, 스웨거/문서 관련 우회는 유지되었습니다. 공개 API 시그니처 변경은 없습니다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Client
participant F as TokenAuthenticationFilter
participant A as AuthService
participant H as Controller
Note over F: 우회 목록: <br/>/auth/refresh, /auth/login, <br/>/auth/oauth2/google/callback, <br/>/auth/password-reset/{request,verify,confirm}
C->>F: HTTP Request
alt 요청 경로 ∈ 명시 우회 목록
F-->>H: FilterChain.continue()
H-->>C: Response
else 기타 모든 경로 포함 /api/v1/auth/** 중 비우회
F->>F: 토큰 추출/검증 시도
alt 유효 토큰
F->>A: 토큰 검증
A-->>F: 검증 성공
F-->>H: FilterChain.continue() (SecurityContext 설정)
H-->>C: Response
else 토큰 없음/무효
F-->>C: 401/접근 거부 처리(구현에 따름)
end
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
📜 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 (1)
✨ Finishing Touches
🧪 Generate unit tests
🪧 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 (
|
|
CI status |
📌 연관된 이슈
#213
✨ 작업 내용
logout 시 404 에러 뜨는걸, 토큰 인증 url 에서 logout을 제외함으로서 수정
💬 리뷰 요구사항(선택)
Summary by CodeRabbit