Uploaded image for project: 'Spring Social'
  1. Spring Social
  2. SOCIAL-436

Authorization scope is not accepted in oAuth

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.0.RC1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      org.springframework - 4.0.0.RELEASE
      spring-social-security - 3.2.0.RELEASE
      spring-social-web - 1.1.0.RC1
      spring-social-facebook - 1.1.0.RC1
      spring-social-twitter - 1.1.0.RC1

      Description

      I am trying to set the scope when allowing my users to authenticate through Facebook/Twitter. I am trying to set the scope at a global level and not do it using a hidden field in a form post. I am not using XML for configuration. I am using all java and annotations. I followed a spring security blog post to configure my application.
      https://github.com/pkainulainen/spring-social-examples/blob/master/sign-in/spring-mvc-normal/src/main/java/net/petrikainulainen/spring/social/signinmvc/config/SocialContext.java

      I tied calling FacebookConnectionFactory.setScope(scope); and it does not look like it gets picked up and added to the URL when going through the oAuth process. I believe that this might be a bug.

        Attachments

          Activity

            People

            • Assignee:
              habuma Craig Walls
              Reporter:
              jeffuhoneydo Jeff Seifert
            • Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: