Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
This commit is contained in:
parent
17122df80d
commit
a9e40a3d80
26 changed files with 195 additions and 99 deletions
9
app/controllers/oauth/authorizations_controller.rb
Normal file
9
app/controllers/oauth/authorizations_controller.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController
|
||||
before_action :store_current_location
|
||||
|
||||
private
|
||||
|
||||
def store_current_location
|
||||
store_location_for(:user, request.url)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue