config/routes.rb in vidibus-oauth2_server-0.0.6 vs config/routes.rb in vidibus-oauth2_server-0.0.7
- old
+ new
@@ -1,6 +1,7 @@
Rails.application.routes.draw do
get '/oauth/authorize' => 'oauth2/authentication#authorize'
+ match '/oauth/token' => 'oauth2/authentication#access_token', :via => [:get, :post]
match '/oauth/access_token' => 'oauth2/authentication#access_token', :via => [:get, :post]
match '/oauth/oauth_token' => 'oauth2/authentication#access_token', :via => [:get, :post]
get '/oauth/user' => 'oauth2/users#show'
end