How to specify OAuth2 scope with spring-social-security SocialAuthenticationFilter?
问题 I'm using Spring Social with Spring Security to authenticate users and automatically create local accounts on my web app. How do I provide the OAuth2 scope for authentication? In the spring-social-samples, I don't see where scope should go. <bean id="socialAuthenticationFilter" class="org.springframework.social.security.SocialAuthenticationFilter" c:_0-ref="authenticationManager" c:_1-ref="userIdSource" c:_2-ref="usersConnectionRepository" c:_3-ref="connectionFactoryLocator" p:signupUrl="