How to use Auth::check() for Users who logged in via Hybridauth Package in Laravel

307 views Asked by At

I managed to work hybridauth package in Laravel 4.1 and I am able to get twitter info of a user.

I add a user row to the users table for the first time users. However, this row doesn't have email and password values which are used in Auth::attemp() function to authenticate non-social users.

My question is that, should I use Auth::attemp() function for social users? If not, how can I make valid Auth::check() functions in controller and blade files?

0

There are 0 answers