Panel without Login or registration
Hello there,
is it possible to have a panel builder without features of login or registrations.
users should just visit the url and see all inside panel.
how do i do that?
7 Replies
You can start by removing the
->login()
setting and the Authenticate::class
middlewere from the panel.
After that, you'll probably have to deal with any policy issues - or any code where it expects a logged in user.
I haven't tried it though so I can't say how easy or hard it isi have tried it just now. it is giving some avatar & $user related errors.
i think i read somewhere about auto login one user by default. how do i do that?
I guess you can have a Guest user π€ Maybe laravel supports something like that? If not, you could either create your own middleware or update the
Authenticate
one to use a default user if the user is not logged in.
Not sure tbh. As I said, I've never done something like that so I can't offer any concrete solutions.you can use their remember_token to access it, I've already done it on my project on my company, I have the main site for users and filament panel for administrator even if the admin is logged in using the login of the main site, it still reads the token π
Also, based on dan harrin, "filament admin panel is not meant to be used by unauthenticaed users"
maybe you can use the filament form builder, and more outside filament π
oh wow. can you give me more details. may be some code part
i just did this in boot method of appservce it worked.
Auth::loginUsingId(1);
GitHub
Access filament without user authentication Β· filamentphp filament ...
Hello, guys! Thanks for your effort and awesome package! My question is: can filament admin panel be accessed without user login/authentication ? Neither docs nor discussions specifies that. The fi...
this actually logged in on all panels. i don't want admin panel to login
thanks for your help
but
checked this. ->login(null) didn't work