Bind oauth applications to users
This commit is contained in:
parent
25d7c1b6ea
commit
6fec8afc3f
12 changed files with 69 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue