Hi, I have access to a user API, which has a postable function validate($username, $password) which returns a Boolean, I don't have any direct access to any of that API(database etc), it's solely API based. What would be the best method of using Laravel's built in Auth, to authorise a login through that API?
This is all accomplished through Guzzle, I cannot use a locally stored database as syncing over 500 accounts an hour isn't feasible.
@jwhm If the API just returns a boolean, then how exactly are you expecting to authenticate a user in your application?
If you call Auth::id() after checking credentials, what is that method supposed to return if you don’t get anything from the API except true or false…?