EnableOAuth2Sso simultaneously for multiple social networks

后端 未结 4 2058
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-19 18:22

I am implementing a spring boot application that needs to provide OAuth2 token authorization and support multiple social services (google+, facebook etc). The user should be

4条回答
  •  遥遥无期
    2020-12-19 18:58

    The link you have provided only shows how to use the @EnableOAuth2Sso facilities that enables a single Authentication Server provider. In order to implement multiple providers you should follow :

    https://spring.io/guides/tutorials/spring-boot-oauth2/#_social_login_manual

    and implement a filter for each provider.

提交回复
热议问题