RailsCasts Pro episodes are now free!

Learn more or hide this

Daniel Gaeta's Profile

GitHub User: dhawking

Site: https://angel.co/danny-gaeta

Comments by Daniel Gaeta

Avatar

Does anyone know why I get the error:

undefined local variable or method `new_user_session_url' for #Doorkeeper::AuthorizationsController:0x007fef99668bc8

resource_owner_authenticator do
# Put your resource owner authentication logic here.
# Example implementation:
current_user || redirect_to(login_url)
end

I am using Sorcery with Doorkeeper