You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read through the docs and reference and found that more information could be provided about WebFlux Username/Password login. Given the issue described below, I am unsure whether the SecurityContext, WebSession need to be explicitly persisted, if I have to use browser cookies/tokens or if the issue lies with my configuration.
Current Behavior
On login the Security context is saved in a WebSession. On following requests to protected endpoints, the session lookup fails. How is the session associated with the browser?
Expected Behavior
I have read through the docs and reference and found that more information could be provided about WebFlux Username/Password login. Given the issue described below, I am unsure whether the
SecurityContext
,WebSession
need to be explicitly persisted, if I have to use browser cookies/tokens or if the issue lies with my configuration.Current Behavior
On login the Security context is saved in a WebSession. On following requests to protected endpoints, the session lookup fails. How is the session associated with the browser?
Example test and output:
Context
WebSessionServerSecurityContextRepository
Username/password authentication and security config:
I have already tried asking on StackOverflow.
The text was updated successfully, but these errors were encountered: