‣
[스프링부트][ANGULAR]SPRING SECURITY 기본 세팅,CSRF,쿠키
http.cors().and()
.csrf().csrfTokenRepository(getCookieCsrfTokenTokenRepository())
...
...
...
@Bean
public CookieCsrfTokenRepository getCookieCsrfTokenTokenRepository(){
CookieCsrfTokenRepository cookieTokenConfig = CookieCsrfTokenRepository.withHttpOnlyFalse();
return cookieTokenConfig;
}