OAuth2ClientContext (spring-security-oauth2) not persisted in Redis when using spring-session and spring-cloud-security

前端 未结 3 2042
旧巷少年郎
旧巷少年郎 2020-12-30 10:40

Thanks a lot in advance for reading this question.

Setup

I am using:

  • spring-security-oauth2:2.0.7.RELEASE
  • spring-
3条回答
  •  醉酒成梦
    2020-12-30 11:27

    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.

提交回复
热议问题