Laravel facebook authentication error

Solved
jefferson-babuyo-old

Feb 1st, 2017 12:17 AM

I'm implementing laravel with facebook/google, I did follow the instruction in devdojo tutorial but I stumble into this error.

Argument 1 passed to Illuminate\Auth\SessionGuard::login() must be an instance of Illuminate\Contracts\Auth\Authenticatable, instance of App\User given

Does anyone implemented this before and got this issue? or how you guys implemented it?

mark

Feb 1st, 2017 11:20 AM

Please share the content of your User model.

mark

Feb 10th, 2017 11:02 AM

Best Answer

Since there are no other replies I think that he figured out that he missed a Authenticatable trait/interface in the User model.