User Data is not saving to Database in Laravel 6. I am using socialite to save data to the database with the following code lines.
protected $fillable = [
'email','name','password','username','picture'
];
In the login controller. I am able to fetch data from socialite correctly(I Checked).
$user = User::firstOrCreate(
['email'=> $social_user->getEmail()],
['username'=> $social_user->getName()],
['name'=> $social_user->getName()],
['picture'=> $social_user->getAvatar()],
['password'=> 'sdsdsdsad'],
['ip_address'=> '127.0.0.1'],
);