How to use this in a api production #496
Unanswered
RejownAhmed
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, we are building a multi-tenant architecture with your package. However, we are building the site with laravel and vue js. And we see that you use session to set configurations on the fly. Which is invalid in the case of API. And this gives a null exception while logging in to the tenant.
After removing the \Spatie\Multitenancy\Http\Middleware\EnsureValidTenantSession::class class from the middle-ware it seems to work. However, we are afraid that this maybe an important part and removing it may cause severe vulnerability.
Thank you,
Rejown Ahmed Zisan
Beta Was this translation helpful? Give feedback.
All reactions