Access Dashboard without Auth
is it possible to access filament dashboard without login and registeration????????????
Solution:Jump to solution
this?
```php
Route::get('/auto-login', function () {
Auth::loginUsingId(1);
return redirect('/admin');...
12 Replies
No. Without authentication it would just be normal Laravel route, so you wouldn't even need Filament for that.
Otherwise you can create a guest user and auto-login the guest user.
i use only filament dashboard in shopify so what i can do because shopify show error
so what i canI think toeknee already answered that.
because shopify show errorWhat error?
Auth guard [auth.sanctum] is not defined.
so i cannot view the login and registeration page
Not sure how sanctum is related to Filament.
You are using
auth.sanctum
as your auth guard – probably in config/auth.php
– but it doesn't exist?Auth guard [web] is not defined.
that is the right error
'auth' => [
'guard' => env('FILAMENT_AUTH_GUARD', 'web'),
'pages' => [
'login' => \Filament\Http\Livewire\Auth\Login::class,
],
],
the filament access web guard from auth so i directly access dashboard without enter in guard
what i can do
how i can auto loagin the guest user
Solution
this?
Thank u soooo much sir
sir without authentication there is any way to access filament dashboard
No.
I agree with Adam and Toeknee.. without auth you don't need Filament
You can use a normal laravel project..
Exactly, just build Livewire components extending Filament forms and tables.