Jetstream & Filament
Hi I want my app to have two different faces
- general public (self-register, MFA etc.)
- admin (users created only be other admins)
I have been using Filament on a separate project for a little while and figure it can actually do what I want (from an app fulctionality point of view) and where it doesn't I can add custom pages.
I know I can create 2 x panels (call them app & admin) but can I (how?) associate a different authentication method with each?
I have so far got as far as installing the stephenjude-jetstream plug-in and have /app/login working as I would like. I haven't yet created the 'admin' panel.
Any pointers?
thx
j
1 Reply
So I progressed to creating the "admin" panel to see what would happen by default - and by default, it presents the same login / register features as the "app" panel.
I'm assuming (or, more accurately, guessing) that the key to this would be defining that all routes under /admin are protected by a specific middleware - am I on the right track?