error

    [SpringBoot] SpringSecurity 무한 redirect 발생

    홈페이지 메인페이지에 접속했더니 로그인 페이지가 무한 redirect 돼서 오류가 발생했다. 기존코드 - SecurityConfig @Bean SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .csrf((csrfConfig) -> csrfConfig.disable() ) // csrf 토큰 비활성화 (테스트시 걸어두는게 좋음) .authorizeHttpRequests((authorize) -> authorize .requestMatchers("/", "/auth/**", "/js/**", "/css/**", "/img/**").permitAll() .anyRequest() .authenticated() ) .formLo..