Error: Call to undefined method Illuminate\Auth\DatabaseUserProvider::getModel() when not loading from DB
LarsKerff opened this issue · 2 comments
LarsKerff commented
When I disable KEYCLOAK_LOAD_USER_FROM_DATABASE, this error will appear:
Error: Call to undefined method Illuminate\Auth\DatabaseUserProvider::getModel()
I want to load the user from keycloak first, because I'm not sure if it exists in the DB.
robsontenorio commented
Please, review the README. That option does exactly what you want.
LarsKerff commented
I know what it does, however as soon as I disable the KEYCLOAK_LOAD_USER_FROM_DATABASE it will give an error, test it yourself.