sign_in_and_redirect user_path, :event => :authentication user GET /users/:id(.:format) users#show user = User.create( ## id: current_user.id,https://www.facebook.com/rachel.garrison/password/email/login? name:auth.extra.raw_info.name, provider:auth.provider, uid:auth.uid, email:auth.info.email, password:Devise.friendly_token[0,20], ) sign_in_and_redirect user_path(current_user), :event => :authentication sign_in_and_redirect resource, :event => :authentication def oauthorize(kind) @user = find_for_ouath(kind, env["omniauth.auth"], current_user) if @user kind = 'Google+' if kind == 'GPlus' flash[:notice] = I18n.t "devise.omniauth_callbacks.success", :kind => kind session["devise.#{kind.downcase}_data"] = env["omniauth.auth"] # this is the line you need to look at sign_in_and_redirect @user, :event => :authentication end end