© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
aviadn

Testing custom auth guard

Hi, i have a panel that uses a custom authGuard and custom login page, defined in the panel like this:
$panel->authGuard('mamritz')
->login(MamritzLogin::class)
i want to test the login page, but when i test the login page directly it uses the default web guard. any idea how to test the login page actually uses the 'mamritz' auth guard?
Thanks
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

Different Auth Guard
FilamentFFilament / ❓┊help
3y ago
Filament auth guard logout
FilamentFFilament / ❓┊help
5mo ago
Export with custom guard
FilamentFFilament / ❓┊help
3y ago
Auth guard [] is not defined.
FilamentFFilament / ❓┊help
3y ago