Recommended approach for replacing Filament login with Jetstream?

I'm creating a new Laravel 10 based project, which will use Jetstream on the frontend, hence the FIlament login will be somewhat redundant. As such, I'm wondering if there's a easy/standard way to do this, rather than having duplicate login functionality?
20 Replies
36864
368642y ago
In your filament.php config file, set auth.pages.login to null and make sure your guard is the same as you're using for jetstream
John Parker
John ParkerOP2y ago
Ooo… so close. I'm guessing I also need to change the Filament logout menu option, as it throws a Method Illuminate\Auth\RequestGuard::logout does not exist. error otherwise. Then again, replacing the "user" menu with the Jetstream equivalent would likely make more sense. Time to do more hunting.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Dan Harrin
Dan Harrin2y ago
create a redirect route with that name that sends users to the correct login page
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Dan Harrin
Dan Harrin2y ago
yup filament just needs to know where to send users to log in
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Dan Harrin
Dan Harrin2y ago
yes, you bind a new response to the container
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
toeknee
toeknee2y ago
I did as dan advised too 🙂
daemon_byte
daemon_byte15mo ago
Sorry for bringing up an old topic but how do you do this in V3?
toeknee
toeknee15mo ago
I believe you can pass the login class into the panel provider to use your primary login provider
daemon_byte
daemon_byte15mo ago
This looks like a promising place thanks.
Hasith
Hasith15mo ago
Is their any article or some guidance about setting up jetstream with filament? i'm very new to filament and understood the above conversation. but need some visualize way to follow the process. 🥹
toeknee
toeknee15mo ago
So you can use #companies if you want a jetstream design But Jetstream is seperate to Filament, filament is a panel on top. You can just use the jetsteam provider for logine tc
Hasith
Hasith15mo ago
why i can not use breezy with multiple panels? any idea about that issue sir?
toeknee
toeknee15mo ago
I do not, I've not played with them yet
Hasith
Hasith15mo ago
There are so many people commenting about that issue on github discussion too. but no one giving answers. lol 🤭
toeknee
toeknee15mo ago
which one? I haven't ben on there in ages
daemon_byte
daemon_byte15mo ago
Yelo Code
YouTube
Build Blog with Laravel 10, Livewire 3 & Filament 3 | Introduction #1
Welcome to our laravel blog project series, in this comprehensive series we will build a blog from scratch using livewire 3 and filament 3.
We will cover how to install and customize jetstream, create layouts, setup database migrations and models, display posts, use livewire 3 to create dynamic components without page reloads and more. Next ...
Want results from more Discord servers?
Add your server