© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
9 replies
garethfrost

use CMS authMiddleware

I am using Statamic CMS hand in hand with filament, statamic allows admins to impersonate users however, i cant figure out the auth to allow the admin to impersonate the user on statamic and then move over to the filament side and still be impersonating the user (at the moment it logs them out).

I have tried using statamic authGuard in authMiddleware() in the adminPanelProvider and defining the authGuard but neither have worked.

Is it possible for this to work?
Solution
for anyone who encounters this issue - statmic and filaments middleware has some clashes so you just need to remove the filament middleware that is already provided by statamic
Jump to solution
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

2nd panel with other authmiddleware
FilamentFFilament / ❓┊help
2y ago
I can't login with the authMiddleware
FilamentFFilament / ❓┊help
5mo ago
Website CMS Management
FilamentFFilament / ❓┊help
2y ago
Brainstorming about CMS
FilamentFFilament / ❓┊help
2y ago