Skip to content
Commits on Aug 4, 2011
  1. Oauth2Token.find was looking for an ID, so use Oauth2Token.first instead

    Rémy Coutable committed with
    Also use color in the RSpec output
  2. Search for Oauth2Token that are authorized and not invalidated in the…

    Rémy Coutable committed with
    … Rack middleware
    I was surprised that when using `OAuth::Controllers::ApplicationControllerMethods.oauthenticate`, every token were valid for authentication, even the invalidated ones!
    So I think this patch fix this (I've updated the specs). I've also simplified a condition in `OAuth::Rack::OAuthFilter#oauth2_token` and the Guardfile to remove the deprecation notice.
Commits on Jan 14, 2011
Something went wrong with that request. Please try again.