Sha256: 348a1bdc83193ac121ec693717e32914ab4838c4dff4fc0ff1adc1cf5241f8df

Contents?: true

Size: 248 Bytes

Versions: 6

Compression:

Stored size: 248 Bytes

Contents

require 'token_endpoint'
Rails.application.routes.draw do |map|
  namespace 'oauth2' do
    resources :authorizations, :only => :create
  end

  match 'oauth2/authorize' => 'oauth2/authorizations#new'
  post 'oauth2/token' => TokenEndpoint.new
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devise_oauth2_providable-0.2.4 config/routes.rb
devise_oauth2_providable-0.2.3 config/routes.rb
devise_oauth2_providable-0.2.2 config/routes.rb
devise_oauth2_providable-0.2.1 config/routes.rb
devise_oauth2_providable-0.2.0 config/routes.rb
devise_oauth2_providable-0.1.6 config/routes.rb