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
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 jetstreamOoo… 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•2y ago
Message Not Public
Sign In & Join Server To View
create a redirect route with that name that sends users to the correct login page
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yup
filament just needs to know where to send users to log in
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yes, you bind a new response to the container
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I did as dan advised too 🙂
Sorry for bringing up an old topic but how do you do this in V3?
I believe you can pass the login class into the panel provider to use your primary login provider
This looks like a promising place thanks.
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. 🥹
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
why i can not use breezy with multiple panels? any idea about that issue sir?
I do not, I've not played with them yet
There are so many people commenting about that issue on github discussion too. but no one giving answers. lol 🤭
which one? I haven't ben on there in ages
you can try this video series. https://www.youtube.com/watch?v=4g93AsneWZs&list=PLqDySLfPKRn5cEn5H2djYJNcmlaYWz-L3&pp=iAQB
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 ...
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 ...