Filament and authentication systems
I've started a new Laravel 11 project with Jetstream/Livewire authentication (until now I've only used sanctum in my projects). The integration with Filament seems clunky though. Not only does jetstream still provide it's own routes to login/reset/etc, but also the 2FA and user/team management does not seem to be supported by filament out of the box. If anything Jetstream provides it's complete own admin pages. Am I missing something here? There's no mention in the docs what authentication scaffolding is expected for filament to work best...
TIA!
8 Replies
why would you integrate filament with jetstream? one is for frontend other is for admin panel
@krekas , so what you're saying is I should stick with sanctum?
why do you need even sanctum? what's the use case?
hmmm, I'm working on an app that is only accesible from filament and it needs different users which have specific permissions to access the correct resources
roles/permissions/gates
no need for any breeze, jetstream, etc.
thank you so much @krekas , I appreciate your time
for roles and permissions, I use spatie btw
Filament has it's own authentication baked in. So for basics you don't need to use something different. But you can replace the default auth with your own auth as it's session based I guess. There is also a Jetstream plugin #jeffgreco-breezy
thanks @Dennis Koch !