File tree Expand file tree Collapse file tree
src/main/java/com/example/be/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,17 +66,7 @@ public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Excepti
6666 .sessionManagement (session -> session .sessionCreationPolicy (SessionCreationPolicy .STATELESS ))
6767 .authorizeHttpRequests (authorize ->
6868 authorize
69- // Swagger UI
70- .requestMatchers ("/v3/api-docs/**" , "/swagger-ui/**" , "/swagger-ui.html" ).permitAll ()
71-
72- // 인증 불필요 엔드포인트
73- .requestMatchers ("/user/login" , "/user/signup" ).permitAll ()
74- .requestMatchers ("/oauth2/**" , "/login/oauth2/**" ).permitAll ()
75- .requestMatchers ("/api/v1/reissue/**" ).permitAll ()
76- .requestMatchers ("/actuator/health" , "/actuator/info" ).permitAll ()
77-
78- // 나머지는 인증 필요
79- .anyRequest ().authenticated ()
69+ .anyRequest ().permitAll ()
8070 )
8171 .oauth2Login (oauth ->
8272 oauth
You can’t perform that action at this time.
0 commit comments