fix: test.html 및 swagger-ui 인증 없이 접근 허용#32
Merged
Conversation
- Google scope에 openid 추가, Kakao scope에 account_email 추가 - application-prod.yml에 forward-headers-strategy: framework 추가 (리버스 프록시 HTTPS 인식) - application-prod.yml에 cookie.secure: false 추가 (HTTP 환경에서 refresh token 쿠키 정상 전달) - deploy.yml docker run에 SPRING_PROFILES_ACTIVE=prod 및 모든 환경변수 주입 추가 - docker 포트 매핑 8080:8080 → 8081:8080 수정 (소셜 redirect URI 등록 포트 일치) - DB_URL을 DB_HOST, DB_PORT, AUTH_DB_NAME 시크릿으로 조합하도록 수정 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
/test.html경로를 Security permitAll에 추가 (기존에는 401 반환)/swagger-ui.html경로 추가로 Swagger UI 접근 정상화/경로 중복 제거 (기존 설정에 이미 있던 것과 통합)원인
anyRequest().authenticated()설정으로 인해 test.html이 인증 없이 접근 불가 상태였음Test plan
http://15-164-112-64.nip.io:8081/test.html접근 확인http://15-164-112-64.nip.io:8081/Swagger UI 접근 확인🤖 Generated with Claude Code