Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public SecurityFilterChain prodSecurityFilterChain(HttpSecurity http) throws Exc
.authorizeHttpRequests(authz -> authz
.requestMatchers("/api/auth/**").permitAll() // 로그인 API 등은 허용
.requestMatchers("/health/**").permitAll() // ping 등 health-check 허용
.requestMatchers(SWAGGER_URLS).permitAll()
.requestMatchers(WEBSOCKET_URLS).permitAll() // WebSocket 경로 허용
.requestMatchers("/error").permitAll() // (에러 내용을 보기 위함)
.requestMatchers("/api/**").authenticated() // 나머지 API는 인증 필요
.anyRequest().denyAll()
Expand Down
Loading