Bind oauth applications to users

このコミットが含まれているのは:
Eugen Rochko
2016-03-14 17:49:13 +01:00
コミット 6fec8afc3f
12個のファイルの変更69行の追加3行の削除

ファイルの表示

@ -45,7 +45,7 @@ Doorkeeper.configure do
# Optional parameter :confirmation => true (default false) if you want to enforce ownership of
# a registered application
# Note: you must also run the rails g doorkeeper:application_owner generator to provide the necessary support
# enable_application_owner :confirmation => false
enable_application_owner :confirmation => true
# Define access token scopes for your provider
# For more information go to

ファイルの表示

@ -1,5 +1,7 @@
Rails.application.routes.draw do
use_doorkeeper
use_doorkeeper do
controllers applications: 'oauth/applications'
end
get '.well-known/host-meta', to: 'xrd#host_meta', as: :host_meta
get '.well-known/webfinger', to: 'xrd#webfinger', as: :webfinger