Skip to content

Commit

Permalink
Merge pull request #28 from Central-MakeUs/dev
Browse files Browse the repository at this point in the history
fix: #22 session 추가
  • Loading branch information
KarmaPol authored Jan 30, 2024
2 parents 1a2cbfc + 24a6a7f commit 5b7b8c7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.http.SessionCreationPolicy;
import org.springframework.security.web.SecurityFilterChain;
import org.springframework.security.web.authentication.logout.LogoutFilter;
import org.springframework.security.web.util.matcher.RequestMatcher;
Expand Down Expand Up @@ -41,7 +40,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.httpBasic().disable()
.rememberMe().disable()
.logout().disable()
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
// .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
.oauth2Login(oauth2Configurer ->
oauth2Configurer
.redirectionEndpoint(
Expand Down

0 comments on commit 5b7b8c7

Please sign in to comment.