Thanks a lot in advance for reading this question.
I am using:
spring-security-oauth2:2.0.7.RELEASE
spring-
There's a known issue there (https://github.com/spring-projects/spring-session/issues/129 and https://github.com/spring-projects/spring-boot/issues/2637). You can work around it by adding a RequestContextFilter.
RequestContextFilter