You can implement your own User Provider: just remember to implement the retrieveByCredentials method receiving the Keycloak Profile >information to retrieve a instance of model.
Eloquent/Database User Provider should work well as they will parse the Keycloak Profile and make a "where" >to your database. So your user data must match with Keycloak Profile.
From your README:
In my
auth.php
I have this:It doesn't work because the error
[Keycloak Error] User cannot be authenticated.
It works with the
keycloak-users
driver, but my database isn't populated.What should I change to make it work with
eloquent
?