© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
Chris Barrett

getTenant() returns NULL

I'm hoping someone has come across this issue before and can help - as this is my first project utilising Filament.

I am integrating with the accounting platform Xero, and as part of my sign-up flow, my application connects to Xero and returns with the connection setting, which is stored in the database. However, getTenant() returns NULL.

The issue is very similar to this one:
https://github.com/filamentphp/filament/discussions/8364

I have tried to implement the suggested solution - but get the same issue in the Middleware

Any pointers as to how to over come this issue?

Many thanks
GitHub
Using Filament::getTenant() for Spark's billable resolver · filamen...
Hi all, before I try and create a repo that demonstrates a bug I think I've found; can you sense check the following? I set up multi tenancy with a Team tenant. I set up Spark (Stripe) to use t...
Using Filament::getTenant() for Spark's billable resolver · filamen...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Filament::getTenant() returns null inside Resource::isScopedToTenant() method
FilamentFFilament / ❓┊help
6mo ago
filament()->getTenant() null in bootUsing
FilamentFFilament / ❓┊help
2y ago
Filament::getTenant() is null on AJAX calls
FilamentFFilament / ❓┊help
2y ago