F
Filament8mo ago
daar

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
krekas
krekas8mo ago
why would you integrate filament with jetstream? one is for frontend other is for admin panel
daar
daarOP8mo ago
@krekas , so what you're saying is I should stick with sanctum?
krekas
krekas8mo ago
why do you need even sanctum? what's the use case?
daar
daarOP8mo ago
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
krekas
krekas8mo ago
roles/permissions/gates no need for any breeze, jetstream, etc.
daar
daarOP8mo ago
thank you so much @krekas , I appreciate your time for roles and permissions, I use spatie btw
Dennis Koch
Dennis Koch8mo ago
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
daar
daarOP8mo ago
thanks @Dennis Koch !
Want results from more Discord servers?
Add your server