This PR supersedes #1 and brings the work started by @nerdgency up to date with Coilpack 1.x and supports a few more features while rewriting the new UserProvider to extend the default Laravel EloquentUserProvider.
Here is the original PR description from @nerdgency:
In my specific use case, I am using both the ExpressionEngine Control Panel and a Laravel Nova panel.
While I could login via the EE CP or a front-end template login form and then go to Nova, I was unable to use Laravel Nova's login controller.
This PR adds a new CoilpackUserProvider that implements the Illuminate\Contracts\Auth\UserProvider.
It respects the Member model either added in the config/coilpack.php file or the default EE Member Model.
It also uses EE's own authentication functions to create the session.
This should be completely compatible with existing installs as the changes to the ConfigureAuthProvider were already hard-coded values and nothing changes on the coilpack guard.
This PR supersedes #1 and brings the work started by @nerdgency up to date with Coilpack 1.x and supports a few more features while rewriting the new UserProvider to extend the default Laravel EloquentUserProvider.
Here is the original PR description from @nerdgency: