Ability to use session for identifying current tenant instead of route or domain #13313
Replies: 2 comments 3 replies
-
@danharrin Is this a feature you guys would like in filament? Happy to PR this myself if so. |
Beta Was this translation helpful? Give feedback.
-
I needed this feature and ended up implementing. I'm sharing the link to the code I wrote. I do believe it's a valid functionality, especially if you want to keep the URL clean. However, it would indeed be necessary to consider cases where the user has other tabs open in the browser (maybe a reload to the home page? A JavaScript event to apply the changes, ...). Anyway, for my use case, this piece of code worked well. And it might serve as a starting point for anyone who needs to implement this feature in the future. |
Beta Was this translation helpful? Give feedback.
-
Has this been a requested feature before?
Essentially would like the ability to be able to use the session instead of a route parameter or domain to identify the current tenant.
Happy to take a look at PR ing this myself if it's something that Filament could benefit from.
Beta Was this translation helpful? Give feedback.
All reactions