File tree Expand file tree Collapse file tree
backend/src/main/java/_team/onmyway/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import _team .onmyway .security .OAuthSuccessHandler ;
66import _team .onmyway .security .JwtAuthenticationFilter ;
77import _team .onmyway .service .CustomOAuthUserService ;
8+ import jakarta .servlet .DispatcherType ;
89import lombok .RequiredArgsConstructor ;
910import org .springframework .security .config .annotation .web .configuration .WebSecurityCustomizer ;
1011import org .springframework .security .web .util .matcher .AntPathRequestMatcher ;
@@ -35,6 +36,7 @@ SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
3536 http
3637 .cors (cors -> cors .configurationSource (corsConfigurationSource ()))
3738 .authorizeHttpRequests (authorizeRequests -> authorizeRequests
39+ .dispatcherTypeMatchers (DispatcherType .FORWARD , DispatcherType .INCLUDE ).permitAll ()
3840 .requestMatchers (
3941 "/" ,
4042 "/find-route" ,
You can’t perform that action at this time.
0 commit comments