Results 1 to 6 of 6

Thread: Spring OAuth vs. Spring Social

  1. #1

    Default Spring OAuth vs. Spring Social

    Both Spring OAuth and Spring Social implement OAuth for Spring Security. Shouldn't resources be used a little more economically?

  2. #2
    Join Date
    May 2008
    Location
    Salt Lake City
    Posts
    167

    Default

    Yes. We're in the process of consolidating those libraries such that spring social will depend on spring oauth.

  3. #3

    Default

    Wonderful, that's good news.
    Marcel Stör, http://www.frightanic.com
    Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
    O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

  4. #4
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Spring Social has always depended on the official Spring Security OAuth project, it's never implemented its own OAuth library of any sort.

    One thing Spring Social does support is the ability to use the Scribe OAuth 1.0 client library as an alternative, which could be preferred in a constrained resource environment such as Android phone due to its small footprint. Scribe is only ever enabled if it is present in your classpath and Spring Security OAuth is not.

    Ryan, one thing you might want to consider in future versions of Spring Security OAuth is factoring out the server (provider) piece out from the client/consumer piece, so when the a OAuth client is needed in a mobile environment such as Android, the server piece wouldn't also be present.

    Keith
    Last edited by Keith Donald; Nov 9th, 2010 at 07:04 PM.
    Keith Donald
    Core Spring Development Team

  5. #5
    Join Date
    Aug 2006
    Posts
    14

    Default Spring Social authentication

    I am new to OAuth and Spring Social ; just wanted to understand how much of the authentication is taken care by Spring Social and how much the client (which uses SS) should do. In basic terms, is it possible to pass the username, password and list of permissions to Spring Social and have it return the accessToken (in case of FB) or should the client have the fb:login window which takes care of authenticating and redirecting to a specified URL with the accessToken which can then be passed to Spring for invoking the APIs. Please clarify.

    Thanks!
    jaa

  6. #6
    Join Date
    May 2008
    Location
    Salt Lake City
    Posts
    167

    Default

    I think you'll probably have to take your question over to the spring social forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •