Bind oauth applications to users
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user