I'm adding Omniauth to my app where I'm using Clearance for regular authentication. I've run into a wall trying to sign in a user programatically.
I'm looking for something like sign_in_and_redirect from Devise, but can't find it in Clearance.
I've tried using sign_in <User> and calling redirect_to root_path right after. However, when the root page loads, the current_user is not set.
Does anyone know how to do this? Does anyone know of a tutorial for adding Omniauth to Clearance?
Thanks