-
Notifications
You must be signed in to change notification settings - Fork 3
Description
What happened?
I have two panels one is Admin and second is Student.
I have Student Model which extends Authenticatable and implements FilamentUser. I want to generate passwordless links and send to students and they can login via magic link.
In plugin I changed all User models to Student model.
Also changed in file PasswordlessLogin.php return URL::temporarySignedRoute('filament.' . Filament::getCurrentPanel()->getId() . '.auth.link', now()->addMinutes(30), $user); to return URL::temporarySignedRoute('filament.' . 'student' . '.auth.link', now()->addMinutes(30), $user); because Filament::getCurrentPanel()->getId() return 'admin', because I generating links from Admin Panel for Student Panel.
Added Action on Table and generated login link for student user.
How to reproduce the bug
When I trying to login via that generated link it redirect to login page. In addition I can login with email and password via plugin's custom login page.
What I need to change/add for success authenticating?
Package Version
0.3.0
PHP Version
8.2.12
Laravel Version
11.10.0
Which operating systems does with happen with?
Windows
Notes
No response