I'm working on integrating Clearance with Omniauth and I'm struggling
trying to figure out how to sign a user in, after (s)he has signed in via
I've tried using sign_in function and passing an instance of the user, but
after I redirect_to root_path current_user is not set.
I've tried setting the current user directly, but that's not helping either.
Looking through the code, I see a sign_in method, but I'm not sure how to
get access to the sessions controller to call it. The test helpers refer
to @controller instance, but which controller?
What's the correct way of integrating Clearance with Omniauth? Is there a
tutorial/doc on how to do this?