Permalink
Commits on Jun 15, 2015
Commits on May 22, 2014
Commits on Aug 16, 2013
Commits on Aug 14, 2013
  1. Rework ActiveRecord model table prefix implementation to avoid proxy …

    bodhi committed Aug 14, 2013
    …collection issues on Rails 4
    
    With the following definitions
    
        class Rack::OAuth2::Server
          class ActiveRecord
            def table_name
              "oauth2_provider_#{name.split("::").last.underscore}"
            end
          end
    
          class AccessToken < ActiveRecord; end
        end
    
        class User < ActiveRecord::Base
          has_many :access_tokens, class_name: "Rack::OAuth2::Server::AccessToken"
        end
    
    The ActiveRecord proxy system incorrectly creates the association's table name:
    
        > User.first.access_tokens
        Mysql2::Error: Table 'myasics_dev.oauth2_provider_active_record' doesn't exist: SHOW FULL FIELDS FROM `oauth2_provider_active_record`
Commits on Aug 8, 2013
Commits on Jul 19, 2013
  1. Change the condition of grant and client match determination to clien…

    raven-chen committed Jul 19, 2013
    …t.id. Since we're using client.id associate client and grant.
Commits on Apr 8, 2013
  1. Remove iconv require

    bodhi committed Apr 8, 2013
Commits on Mar 28, 2013
Commits on Aug 30, 2012
Commits on Aug 3, 2012
  1. Accept JSON parameters when receiving requests for authorisation.

    bodhi committed Aug 3, 2012
    This is against the v30 revision of the OAuth spec, which states in
    section 4:
    
    > adding [...] parameters to the query component of the authorization
    endpoint URI using the "application/x-www-form-urlencoded" format
    
    Crimped code from donedotcom@a57da89
  2. Fix typo in AccessToken#revoke!

    bodhi committed Aug 3, 2012
  3. Add uniqueness constraint on client-id/access token for ActiveRecord …

    bodhi committed Aug 3, 2012
    …backend
    
    Note, this doesn't guarantee that duplicate tokens won't be added
    to the database. For this you need to use Database-level constraints.
Commits on Jul 31, 2012
  1. Make backend configurable

    bodhi committed Jul 31, 2012
  2. (partial) ActiveRecord model backend

    bodhi committed Jul 31, 2012
    The `Issuer` model class has not been ported from the MongoDB implementation
Commits on Jul 16, 2012
  1. Ruby formatting [ci skip]

    Brian Ploetz committed Jul 16, 2012
  2. Version bump to 2.8.0

    Brian Ploetz committed Jul 16, 2012
  3. Update README

    pacovell committed Jul 16, 2012
Commits on Jul 10, 2012
  1. Version bump to 2.7.0

    Brian Ploetz committed Jul 10, 2012
Commits on Jul 8, 2012
Commits on Jun 20, 2012
  1. Adding note about implemented spec version [ci skip]

    Brian Ploetz committed Jun 20, 2012
Commits on Jun 19, 2012
  1. Added json gem to server.rb.

    gaku committed with Brian Ploetz Jun 12, 2012
Commits on Mar 27, 2012
  1. Issue #3: Removing scope from Sinatra documentation

    Brian Ploetz committed Mar 27, 2012
    [ci skip]
Commits on Mar 26, 2012
Commits on Mar 23, 2012
  1. Issue #12: Changing two-legged OAuth flow back to always returning a …

    Brian Ploetz committed Mar 23, 2012
    …new access token