-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Make backend session stateless #786
base: staging
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
9 Skipped Deployments
|
@@ -143,7 +142,7 @@ open class SecurityConfig( | |||
http.formLogin { it.disable() } | |||
http.exceptionHandling { it.accessDeniedPage("/403") } | |||
http.with(JwtConfigurer(jwtTokenProvider), Customizer.withDefaults()) | |||
http.with(SessionFilterConfigurer(startupPropertyConfig), Customizer.withDefaults()) | |||
http.sessionManagement { it.sessionCreationPolicy(SessionCreationPolicy.STATELESS) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work yet, the oauth2Login needs some config change
@@ -34,9 +34,6 @@ data class StartupPropertyConfig @ConstructorBinding constructor( | |||
val challengeOwnershipMode: OwnershipType, | |||
val raceOwnershipMode: OwnershipType, | |||
|
|||
// Increased session | |||
val increasedSessionTime: Int, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do think, we need something like this but maybe in a different place.
That's a good one. Looking forward to see it work! |
f2bfa50
to
9b84c4f
Compare
96f4f73
to
e42bcf9
Compare
4a5089d
to
23458f6
Compare
|
|
e54bd7d
to
9a8febe
Compare
closes #362