in app/controllers/omniauth_callbacks_controller.rb [1:7]
def github @user = User.github_auth(request.env["omniauth.auth"]) return failure unless @user.persisted? sign_in_and_redirect @user end