setting a custom homeUrl after login doesn't seem to work
i have a new panel created and set the
homeUrl('calendar')
but everytime I login on the new panel, it tries to look for dashboard
7 Replies
need some help with this, after login it always seems to go to
/dashboard
and I get a 404 error since it doesn't exist
was homeUrl
function would fix that
bumping upDid you install Jetstream? What is in routes/web.php?
I’m not sure homeUrl() is correct for this. I think homeUrl() is mostly for the link provided to the logo when clicking on it.
Have you tried this? it's may work (Lots of V2 tricks works on V3) https://v2.filamentphp.com/tricks/customize-redirect-after-admin-login
Filament
Customize redirect after admin panel login by David VINCENT - Trick...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Try this and adjust your condition as necessary : https://laraveldaily.com/post/filament-disable-dashboard-auto-redirect-url-after-login
can't seem to get this to work, this issue started happening with L11 for some reason, the
homeUrl()
seemed to work fine before upgrading the project to L11
tried the solution posted by @Yuvraj Timalsina , doesn't work either
Yes, I have jetstream installed because I have custom auth pages..The /dashboard route gets set up in routes/web.php when you install Jetstream. Is it still there? I'm guessing you already checked this, but at least in L10 I just had to remove the redirection on login to /dashboard from there.