Skip to content

fix: test.html 및 swagger-ui 인증 없이 접근 허용#32

Merged
ekfrehd merged 2 commits intodevelopfrom
fix/oauth-social-login-prod-config
Apr 17, 2026
Merged

fix: test.html 및 swagger-ui 인증 없이 접근 허용#32
ekfrehd merged 2 commits intodevelopfrom
fix/oauth-social-login-prod-config

Conversation

@ekfrehd
Copy link
Copy Markdown
Contributor

@ekfrehd ekfrehd commented Apr 17, 2026

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

p_caso and others added 2 commits April 17, 2026 18:19
- 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>
@ekfrehd ekfrehd merged commit 89c6842 into develop Apr 17, 2026
1 check passed
@ekfrehd ekfrehd deleted the fix/oauth-social-login-prod-config branch April 17, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant