Sha256: 652111c32f06c00a5a9358682deba743daa6500b76aaddac4b53a86a2a2b51a9
Contents?: true
Size: 760 Bytes
Versions: 32
Compression:
Stored size: 760 Bytes
Contents
./script/generate oauth_provider This creates an OAuth Provider controller as well as the requisite models. It requires an authentication framework such as acts_as_authenticated, restful_authentication or restful_open_id_authentication. If you generated the migration file (true by default), make sure you run rake db:migrate include the following in your user.rb has_many :client_applications has_many :tokens, :class_name=>"OauthToken",:order=>"authorized_at desc",:include=>[:client_application] For legacy OAUTH 1.0 support add the following constant in your environment.rb OAUTH_10_SUPPORT = true Note, you should only do this if you really positively require to support old OAuth1.0 clients. There is a serious security issue with this.
Version data entries
32 entries across 32 versions & 5 rubygems