Is there any way to get tenant information on login page?

Hello, I want to get tenant (team) information on login / registration page. i am currently using filament's multi tenancy for single team per user and invitations. Invited users are using team's subdomain for logging in,
->tenant(Team::class, slugAttribute: 'slug')
->tenantDomain('{tenant:slug}.example.test');
->tenant(Team::class, slugAttribute: 'slug')
->tenantDomain('{tenant:slug}.example.test');
I want to get the Team's infomation on login page, and i tried this but it is returning null.
$tenant = Filament::getTenant();
$tenant = Filament::getTenant();
Is there any way i can get this?
1 Reply
toeknee
toeknee3mo ago
Is the login page scoped to the tenant?
Want results from more Discord servers?
Add your server