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
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...
Was this page helpful?