Sha256: 6f6da34c294222f6ee7cb17719cf71adc5680f271c6038b597caf8303c62a633
Contents?: true
Size: 282 Bytes
Versions: 7
Compression:
Stored size: 282 Bytes
Contents
require 'token_endpoint' Rails.application.routes.draw do |map| namespace 'oauth2' do resources :authorizations, :only => :create end match 'oauth2/authorize', :to => 'oauth2/authorizations#new' post 'oauth2/token', :to => proc { |env| TokenEndpoint.new.call(env) } end
Version data entries
7 entries across 7 versions & 2 rubygems