Fix : 유효하지 않은 토큰 쿠키로 공개 경로가 500 나는 문제 수정 - #572
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WcGtHShfT1PVH4iSiufgaz
Contributor
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WcGtHShfT1PVH4iSiufgaz
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.
Summary
Tasks
CustomAuthenticationEntryPoint가 401로 응답/swagger-ui/**,/v3/api-docs/**)는 토큰 필터를 거치지 않도록 제외JwtAuthenticationFilterTest추가ETC
Domain=depromeet.com이라 prod 쿠키가 dev에도 전송돼서, prod에서 로그인한 브라우저로 dev Swagger에 들어가면 500이 났어요.JWT-401-1,JWT-401-4)는 기존과 같아요.Screenshot
Summary by CodeRabbit
Authorization헤더나 유효하지 않은 Bearer 토큰이 전달되면 구체적인 오류 코드와 함께 401 응답을 반환합니다.