You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shubhangisingh edited this page Jan 13, 2017
·
3 revisions
In case you want to use Doorkeeper with devise
The resource_owner_authenticator should be replaced by below block to generate auth_tokens for your client apps
resource_owner_authenticatordo |routes|
# Put your resource owner authentication logic here.# If you want to use named routes from your app you need# to call them on routes object eg.# routes.new_user_session_pathcurrent_user || warden.authenticate!(:scope=>:user)end