Skip to content

Commit

Permalink
feat(session): spring security session 생성 정책 if required로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
junhyeongkim2 committed Oct 28, 2024
1 parent 941e3b8 commit c34d723
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.userInfoEndpoint(
userInfoEndpointConfig -> userInfoEndpointConfig.userService(customOAuth2UserService))
.successHandler(customSuccessHandler))
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS));
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED));

return http.build();

Expand Down

0 comments on commit c34d723

Please sign in to comment.