Laravel 8 multi auth using jetstream fortify
what solution for multi auth in laravel 8 using jetstream and fority?
no in both of the links i didn't find way to create multi auth
Another answer I gave is:
But also:
I don't believe jetstream has a "multiple Authentication two table" options. So using manual Authentication as in the link will allow you to create how you need.
In the links, I refer to https://laravel.com/docs/8.x/authentication#authenticating-users you may need to scroll down a little.
Which you can manually use to make your multi authentication system.
It states:
You are not required to use the authentication scaffolding included with Laravel Jetstream. If you choose to not use this scaffolding, you will need to manage user authentication using the Laravel authentication classes directly. Don't worry, it's a cinch!
We will access Laravel's authentication services via the Auth facade, so we'll need to make sure to import the Auth facade at the top of the class. Next, let's check out the attempt method:
From there, I have seen dozens of example of implementation, like:
https://stackoverflow.com/questions/58872185/laravel-custom-multi-authentication
https://laracasts.com/discuss/channels/laravel/multi-authentication-1?page=1
Please or to participate in this conversation.