PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

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.