Eu tenho o projeto 5.2 e o sistema de autenticação funciona bem com
jenssegers/laravel-mongodb
. Você deve adicionar Jenssegers\Mongodb\Auth\PasswordResetServiceProvider
se você estiver usando lembretes de senha. https://github.com/jenssegers/laravel-mongodb#extensions
Além disso, aqui está meu
User.php
de trabalho , talvez ajude:namespace App;
use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
use Illuminate\Auth\Authenticatable;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
class User extends Eloquent implements
AuthenticatableContract,
AuthorizableContract,
CanResetPasswordContract
{
use Authenticatable, Authorizable, CanResetPassword;