Commits on May 28, 2012
  1. Also check intermediate error for fetchAuthorizationInformation()

    We were also skipping over the intermediate error from the provider's
    fetchAuthorizationInformation(), which will cause an (incorrect) error
    about the provider interface.
    evanp committed May 28, 2012
  2. authorizeUrlMethod() checks err returned from fetchAuthorizationInfor…

    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.
    evanp committed May 28, 2012
  3. authenticateUser() should pass results of associateTokenToUser() to c…

    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.
    evanp committed May 28, 2012
Commits on May 25, 2012
  1. Change default realm for OAuth to 'oauth'

    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'.
    evanp committed May 25, 2012
Commits on May 23, 2012
Commits on May 16, 2012
  1. Merge pull request #99 from evanp/previousRequestTokenArg

    Pass correct parameter to previousRequestToken()
    committed May 16, 2012
  2. Bumping versions to 0.5.2

    committed May 16, 2012
  3. Pass correct parameter to previousRequestToken()

    We used to pass oauth_consumer_key to previousRequestToken(); this patch
    passes the correct token parameter instead.
    evanp committed May 16, 2012
  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.
    committed May 16, 2012
  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.)
    committed May 16, 2012
  6. Merge pull request #92 from evanp/only_sign_post_form_types

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

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

    verifyToken was removed during a refactor
    committed May 16, 2012
  9. Add tokenByTokenAndConsumer() to allow multiple request tokens per co…

    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.
    evanp committed May 16, 2012
Commits on Mar 23, 2012
  1. Fix a refactoring typo that made verifyToken disappear

    I also changed the indent of verifyToken so it hopefully won't happen
    xentac committed Mar 23, 2012
Commits on Mar 19, 2012
  1. Only consider body attributes as parameters if Content-Type is applic…

    Fixes Issue #91.
    We only consider body attributes as parameters if they're actually
    parameters per
    evanp committed Mar 19, 2012
  2. Check err param in callback from OAuthDataProvider's applicationByCon…

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

    committed Mar 8, 2012
  2. Updating Google's OAuth2 strategy to request the user profile (and op…

    …tionally the user's email address)
    committed Mar 8, 2012
Commits on Feb 29, 2012
  1. Merge commit '1e8deb7'

    committed Feb 29, 2012
  2. Merge pull request #38 from tonymilne/master

    Added support for POST params in oauth parseParameters
    committed Feb 29, 2012
  3. Bumping version to 0.5.0

    committed Feb 29, 2012
  4. Fix openid

    committed Feb 29, 2012
  5. Merge remote-tracking branch 'xentac/alternate_signature_methods' int…

    …o merge_oauth_provider
    committed Feb 29, 2012
Commits on Feb 28, 2012
  1. Merge pull request #82 from ngmoco/master

    Need explicit requirement for connect.
    committed Feb 28, 2012