I want to use filament for my project without database. Instead, it will use external API to fetch the data. I know that I can use Sushi library to work with data models.
What I don't know how to do is login user using external API. I've managed to make the login work with Sushi, but I can't use
Filament::auth()->attempt()
Filament::auth()->attempt()
.
I have extended authenticate method of Filament login page with this code: