Alloe GET as well as POST for oauth#revoke and oauth#authorize
This commit is contained in:
parent
c962b8acfc
commit
3b34f700f1
2 changed files with 10 additions and 2 deletions
|
@ -244,8 +244,8 @@ OpenStreetMap::Application.routes.draw do
|
|||
scope "/user/:display_name" do
|
||||
resources :oauth_clients
|
||||
end
|
||||
match '/oauth/revoke' => 'oauth#revoke', :via => :post
|
||||
match '/oauth/authorize' => 'oauth#authorize', :via => :post, :as => :authorize
|
||||
match '/oauth/revoke' => 'oauth#revoke', :via => [:get, :post]
|
||||
match '/oauth/authorize' => 'oauth#authorize', :via => [:get, :post], :as => :authorize
|
||||
match '/oauth/token' => 'oauth#token', :via => :get, :as => :token
|
||||
match '/oauth/request_token' => 'oauth#request_token', :via => :get, :as => :request_token
|
||||
match '/oauth/access_token' => 'oauth#access_token', :via => :get, :as => :access_token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue