Announcement Announcement Module
No announcement yet.
facebook login email permission Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • facebook login email permission


    I'm testing the spring-social-showcase and I would like to retrieve the email of the facebook profile.
    Is this currently possible ?

    In the signin.jsp you have the following
    HTML Code:
    <form id="fb_signin" action="<c:url value="/signin/facebook"/>" method="POST">
        <button type="submit"><img src="<c:url value="/resources/social/facebook/sign-in-with-facebook.png"/>"/></button>
    I'm not able to get the email permission.
    When using the following code it works but then spring doesn't detect that I'm logged in
    HTML Code:
    <fb:login-button perms="email,user_birthday"/>
    Any ideas ?

  • #2
    As you probably know, ConnectController lets you specify a scope when connecting an account with an OAuth 2 provider such as Facebook. But it seems you've found that ProviderSignInController does not.

    Scope isn't important to ProviderSignInController in the case where the user has previously connected their account to the provider. But in the case of a new user, scope is establish a connection with the property authorization to do what the application needs.

    What we need is for ProviderSignInController to work with scope much like ConnectController does. I've created to track this.


    • #3