Open
Description
Hey, ive been looking at your package and I think you should consider changing the code to allow any kind of UserProvider. Right now you are newing up a model through the config file, but imo it would be better to do something like this:
$user = auth()->getProvider()->retrieveById($token->getClaim('sub'));
That way, any kind of userprovider would work, it doesn't depend on there being a findOrFail on the user model.
Metadata
Metadata
Assignees
Labels
No labels