X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0e78061cdba5cfb3f299f57b7643d2b396ee235b..5868be1f7b8eb252812b6920a80341c589f291c6:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index da3921e4a..048db8b33 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,10 @@ OpenStreetMap::Application.routes.draw do + use_doorkeeper :scope => "oauth2" do + controllers :authorizations => "oauth2_authorizations", + :applications => "oauth2_applications", + :authorized_applications => "oauth2_authorized_applications" + end + # API namespace :api do get "capabilities" => "capabilities#show" # Deprecated, remove when 0.6 support is removed