We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5644654 + d1bb295 commit bafeb06Copy full SHA for bafeb06
1 file changed
src/main/java/umc/codeplay/config/SecurityConfig.java
@@ -49,7 +49,7 @@ public AuthenticationManager authenticationManager(AuthenticationConfiguration c
49
@Bean
50
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
51
AuthenticationEntryPoint entryPoint = new CustomAuthenticationEntryPoint(objectMapper);
52
- http
+ http.cors(Customizer.withDefaults())
53
// 세션을 사용하지 않도록 설정
54
.sessionManagement(
55
session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
0 commit comments