SocialAuthenticationFilter不会在redirect_uri中设置HTTPS以用于Facebook登录

时间:2018-10-17 13:23:43

标签: spring facebook security oauth social

我们已经实现了后端oauth流程,以使用Spring MVC 4.x与Facebook集成

这是我们使用的基准 http://blog.jdriven.com/2015/01/stateless-spring-security-part-3-jwt-social-authentication/

我们在Spring social上的特定版本是

[INFO] +- org.springframework.social:spring-social-security:jar:1.1.4.RELEASE:compile
[INFO] |  +- org.springframework.social:spring-social-web:jar:1.1.4.RELEASE:compile
[INFO] |  \- org.springframework.social:spring-social-core:jar:1.1.4.RELEASE:compile
[INFO] +- org.springframework.social:spring-social-config:jar:1.1.4.RELEASE:compile
[INFO] +- org.springframework.social:spring-social-facebook:jar:2.0.3.RELEASE:compile
[INFO] +- org.springframework.social:spring-social-google:jar:1.0.0.RELEASE:compile
[INFO] \- org.springframework.social:spring-social-twitter:jar:1.1.2.RELEASE:compile

自10月6日以来,Facebook需要 HTTPS ,所以我不知道如何通过SpringSocialConfigurer强制HTTPS。始终是HTTP。

协议版本也是错误的。它显示/v2.5,但根据latest facebook doc

必须为/v3.1

0 个答案:

没有答案