CSRF, 웹 보안 취약점 중 하나로, 공격자가 조작한 요청을 신뢰할 수 있는 사이트에 대해 보내도록 만드는 공격.
@Bean
public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
return http
.csrf().disable() //
.authorizeExchange()
.pathMatchers("/auth/**").permitAll()
.anyExchange().authenticated()
.and()
.build();
}