Closed amit-dalal closed 3 years ago
Any news regarding that ?
@redidizzy if there hasn't been an update here then no there isn't any news. Anyone's free to send in a PR.
@driesvints Please take up this feature on priority as this is one of the main requirement which we feel missing in Laravel.
This is a feature request, not a bug.
To build your own custom, multi-auth system: https://laravel.com/docs/8.x/authentication#authenticating-users
In lot of projects we do have multiple user tables based on requirement, so, it is not feasible to have single user table in this scenario. Result is multiple tables in database storing credentials for different roles.
In this case till now we used to specify custom guard in config/auth.php in Laravel for each credential table and use them to build multi-auth system. However, Jetstream is using single guard specified in Fortify.php.
Request: Please provide option to choose guard specified in config/auth.php to create a multiauth system instead of using single guard from fortify.php. At present, we are forced to use only one guard specified in fortify.php to use in application. Please help !!