Closed christopherhein closed 10 years ago
something along the lines of https://github.com/generalthings/doorkeeper-grants_assertion/compare/using-include-application-controller
+1 for @christopherhein fix. Otherwise you override the doorkeeper application controller and we are not able to access /oauth/applications
for example.
I made a fix of my own to avoid the "/oauth/applications" problem but I think @christopherhein's it's really better. +1
Fixed in PR, thanks @christopherhein!
So I'm not sure if we should actually be overriding
Doorkeeper::ApplicationController
here it seems like whenever this gem is included it overrides all other strategies by way of fully redefining theApplicationController
…Can you confirm my assumption? Easy to reproduce start a new app setup doorkeeper and this gem and try to use the authorization code flow…
I'm assuming we might want to do something like
class_eval
or include a helper method?