I'm starting to discover Laravel 5, so I might need a bit of your help to understand a few things.
First, I want to develop a login page. It seems that Laravel has a whole authentication system, and I guess I should use it.
Nevertheless, I want to display a login page (I know how to do this!), but after this, I would like to send the credentials to a server via an API call. The server will then tell me if the user is allowed to log in or not.
As far I understand Laravel and authentication, it seems that the authentication system works only with a local DB.
Can you confirm I need to use a custom authentication driver to do this? I've been following this solution but I get this error when loading my page:
FatalErrorException in CustomUserProvider.php line 6:
Interface 'Illuminate\Auth\UserProviderInterface' not found
Any help would be appreciated, feel free to ask me for more information if you need it.
Thanks
Illuminate\Contracts\Auth\UserProvider.