OAuth2 ์ค์ ํ์ผ ์์ฑํ๊ธฐ
ยท
TIL/Java
@RequiredArgsConstructor@Configurationpublic class WebOAuthSecurityConfig { // ์คํ๋ง ์ํ๋ฆฌํฐ ๊ธฐ๋ฅ ๋นํ์ฑํ @Bean public WebSecurityCustomizer configure() { return (web) -> web.ignoring() .requestMatchers(toH2Console()) .requestMatchers("/img/**", "/css/**", "/js/**"); } @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { ..