File tree 1 file changed +11
-7
lines changed
komga/src/main/kotlin/org/gotson/komga/infrastructure/security
1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -184,13 +184,17 @@ class SecurityConfiguration(
184
184
cacheControl { disable() }
185
185
}
186
186
187
- sessionManagement {
188
- sessionCreationPolicy = SessionCreationPolicy .IF_REQUIRED
189
- sessionConcurrency {
190
- sessionRegistry = theSessionRegistry
191
- maximumSessions = - 1
192
- }
193
- }
187
+ // somehow the Kobo gets a Json issue when session sessionCreationPolicy is set to something else than STATELESS
188
+ // despite the response being exactly the same
189
+ // this happens when requesting /v1/user/profile
190
+ // Kobo error: packetdump.warning) Invalid JSON script: QVariant(Invalid) "illegal value"
191
+ // sessionManagement {
192
+ // sessionCreationPolicy = SessionCreationPolicy.IF_REQUIRED
193
+ // sessionConcurrency {
194
+ // sessionRegistry = theSessionRegistry
195
+ // maximumSessions = -1
196
+ // }
197
+ // }
194
198
195
199
addFilterBefore<AnonymousAuthenticationFilter >(koboAuthenticationFilter())
196
200
}
You can’t perform that action at this time.
0 commit comments