Skip to content

Commit

Permalink
fix: #22 rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
KarmaPol committed Jan 30, 2024
1 parent 24a6a7f commit 1b25b27
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
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 @@ -40,7 +41,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 1b25b27

Please sign in to comment.