spring-social を使用して、アプリケーションを Facebook に統合しています。OAuth2AuthenticationService では、スコープは空です。フォームの入力としてスコープを設定しましたが、機能せず、スコープを設定できませんでした。ユーザーの電子メールを取得できませんでした。
「OAuth2AuthenticationService」スコープ変数をオーバーライドする方法はありますか?
Not: Spring social バージョンは 1.1.0.BUILD-SNAPSHOT です。
セキュリティxmlバージョンを含むSpringソーシャルサンプルを使用しました
            <form name="fb_signin" id="fb_signin" action="../auth/facebook"
                method="post">
                <input type="hidden" name="scope"
                    value="email,publish_stream,read_stream,offline_access" /> 
                <button type="submit"> <img src="../images/social/facebook/sign-in-with-facebook.png" /> </button>  
                <!--  
                <input
                    type="image"
                    src="../images/social/facebook/sign-in-with-facebook.png"
                    align="right" />
                --> 
            </form>