I don't understand your confusion. You've built a custom authentication service provider but you expect a built-in password reset to work. I'm probably missing the point here? My best guess is that you haven't implemented everything in your auth service provider and that is why password reset is not working.
Authorizing via Remote API: General Concepts
I'm building a Laravel system which consumes all data, including user authorization, from an external API. I have complete control of the API. There is no local database. In doing so, I'm trying to use as much as Laravel's scaffolding as possible.
I've successfully built a custom authentication service provider and user provider however I have run into issues. For instance, Laravel's default UserProvider uses GenericUser for retrieveByCredentials() which doesn't support CanResetPassword out of the box.
This has got me wondering: should I even leverage Laravel's User model if everything is coming from an API? Should I create my own custom CustomUser model? What are the pros/cons/best approach?
I guess I'm just looking for some general suggestions on an approach, before getting too deep. Thanks!
Please or to participate in this conversation.