Skip to content
Commits on May 28, 2012
  1. @evanp

    Also check intermediate error for fetchAuthorizationInformation()

    evanp committed
    We were also skipping over the intermediate error from the provider's
    fetchAuthorizationInformation(), which will cause an (incorrect) error
    about the provider interface.
  2. @evanp

    authorizeUrlMethod() checks err returned from fetchAuthorizationInfor…

    evanp committed
    We weren't checking the err response before. This patch adds a quick check and a call to the authorize_provider if there's an error.
  3. @evanp

    authenticateUser() should pass results of associateTokenToUser() to c…

    evanp committed
    The authenticateUser() method of the OAuthServices class was returning
    the results of provider.authenticateUser() instead of provider.associateTokenToUser().
    This gives incorrect results if associateTokenToUser() doesn't return
    the identical object (the in-memory provider does, which is probably why this doesn't come up).
    This patch changes the function so that if associateTokenToUser()
    returns a non-identical object (say, if you use a database) you get
    the most up-to-date object back.
Commits on May 25, 2012
  1. @evanp

    Change default realm for OAuth to 'oauth'

    evanp committed
    The documentation comment says the default realm is 'oauth', but the
    default code was setting it to the string 'realm'. To harmonize the
    two, I used the more descriptive 'oauth'.
Commits on May 23, 2012
  1. @evanp
  2. @evanp
Commits on May 16, 2012
  1. Merge pull request #99 from evanp/previousRequestTokenArg

    Pass correct parameter to previousRequestToken()
  2. Bumping versions to 0.5.2

  3. @evanp

    Pass correct parameter to previousRequestToken()

    evanp committed
    We used to pass oauth_consumer_key to previousRequestToken(); this patch
    passes the correct token parameter instead.
  4. Fixing Issue #96 - Object #<Object> has no method 'fail' (Twitter)

    There was an invalid reference to '', 'fail'
    is not defined in that particular scope at the point where
    the twitter callback fails, it was a typo, should've been
    self. Now is.
  5. Minor fixes to Evan's work on Issue #97 ( tokenByTokenAndConsumer )

    'Cached' which method ( tokenByTokenAndConsumer or tokenByConsumer)
    the provider is providing, and stopped testing for the token methods
    for *each* required method in the loop (typo.)
  6. Merge pull request #92 from evanp/only_sign_post_form_types

    Only consider body attributes as parameters if Content-Type is applicati...
  7. Merge pull request #90 from evanp/Issue89

    Check err param in callback from OAuthDataProvider's applicationByConsum...
  8. Merge pull request #93 from xentac/master

    verifyToken was removed during a refactor
  9. @evanp

    Add tokenByTokenAndConsumer() to allow multiple request tokens per co…

    evanp committed
    Per Issue #97, the tokenByConsumer() method assumes only a single
    request token per client application.
    This would prevent two users from authorizing the same app at the same
    time -- unfortunate!
    This patch creates a new OAuthDataProvider method,
    tokenByTokenAndConsumer(), which retrieves the full value based on
    both the token and the consumer_key.
    Providers that already implement tokenByConsumer() should continue
    working, but newer apps can ignore it and implement the newer method.
Commits on Mar 23, 2012
  1. @xentac

    Fix a refactoring typo that made verifyToken disappear

    xentac committed
    I also changed the indent of verifyToken so it hopefully won't happen
Commits on Mar 19, 2012
  1. @evanp

    Only consider body attributes as parameters if Content-Type is applic…

    evanp committed
    Fixes Issue #91.
    We only consider body attributes as parameters if they're actually
    parameters per
  2. @evanp

    Check err param in callback from OAuthDataProvider's applicationByCon…

    evanp committed
    Fix for issue #89.
Commits on Mar 8, 2012
  1. Merge remote-tracking branch 'origin/RB-0.4'

  2. Updating Google's OAuth2 strategy to request the user profile (and op…

    …tionally the user's email address)
  3. @therealjessesanford
Commits on Feb 29, 2012
  1. Merge commit '1e8deb7'

  2. Merge pull request #38 from tonymilne/master

    Added support for POST params in oauth parseParameters
  3. Bumping version to 0.5.0

  4. Fix openid

Commits on Feb 28, 2012
  1. Merge pull request #82 from ngmoco/master

    Need explicit requirement for connect.
  2. @therealjessesanford
Something went wrong with that request. Please try again.