It's my first experience with the Lumen framework (version 5.4.5) and I'm having problems with the login system.
The official documentation does not say anything beyond how to obtain the user identified in the system, and what directives to uncomment in the file bootstrap/app.php for it.
However, it does not say how it works, where to put the logic to see if the user and password are correct (see a table in a database, the password is encrypted in some way?, ...) .
Therefore, I can not login.
I have the following broken down lines in the file bootstrap/app.php :
$app->withFacades();
$app->withEloquent();
$app->routeMiddleware([
'auth' => App\Http\Middleware\Authenticate::class,
]);
$app->register(App\Providers\AuthServiceProvider::class);
Does anyone know how to do it?