I have an application that is made for employees only. We do not use passwords at all, rather I'm forcing Laravel Socialite logins through Microsoft Azure. I removed the password field from the user model and table but then I get the following exception:
The attribute [password] either does not exist or was not retrieved for model [App\Models\User].
If I override the getAuthPassword method and return null it works fine but I don't want to introduce a potential security issue. Anyone more experienced with Laravel auth, is this ok to do?
class User extends Authenticatable
{
public function getAuthPassword()
{
return null;
}