We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 701e893 commit 7752cabCopy full SHA for 7752cab
src/main/java/org/openpodcastapi/opa/config/SecurityConfig.java
@@ -48,7 +48,7 @@ public SecurityFilterChain defaultSecurityFilterChain(HttpSecurity http) throws
48
http
49
.csrf(csrf -> csrf.ignoringRequestMatchers("/api/**", "/docs", "/docs/**"))
50
.sessionManagement(sm -> sm
51
- .sessionCreationPolicy(SessionCreationPolicy.STATELESS)) // Stateless session
+ .sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED)) // Stateless session
52
.authorizeHttpRequests(auth -> auth
53
.requestMatchers(publicPages).permitAll()
54
.requestMatchers(publicEndpoints).permitAll()
0 commit comments