Closed
Description
In org.springframework.security.config.web.server.ServerHttpSecurity.OAuth2LoginSpec#configure, the line
does not take into account ServerHttpSecurity.this.securityContextRepository
(which has the same default value, but can be customized by invoking securityContextRepository()
) and blindly creates a new instance of WebSessionServerSecurityContextRepository
.