© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
21 replies
DianaMujoiu

Authentication: All users can access Filament

Hello, guys. I have two applications: client(the website) and api with Filament.
I am using Laravel Sanctum for register/login only to the website not in the admin panel but as I saw, all the users created from the website can also access the Filament Admin Panel. How can I allow only the filament user(or specific user ) to access the admin panel?
I say something like this, I put it in the User Model but it's not working
'public function isFilamentAdmin()
{
return $this->email === 'dan@danharrin.com';
}'
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Giving end-users access to a Filament panel
FilamentFFilament / ❓┊help
3y ago
Filament Access
FilamentFFilament / ❓┊help
3y ago
Guest Access & Authentication
FilamentFFilament / ❓┊help
3w ago
Can i use breeze authentication on filament?
FilamentFFilament / ❓┊help
3y ago