I'd like users of the multi tenant bundle to have a choice of URLs. Either:
tenant.app.com, or
go.app.com.
The bundle copes with item 1 at the moment, but for number 2 I'd like an option that the app could only be accessible from go.app.com ('go' could be anything). The user would be presented with a login page, and once logged in it would load into the tenant they used last, using a new field stored against the user called 'currentTenant'.
This field 'currentTenant' would be updated everytime the user changes 'active' tenant from the dropdown list (assuming they have permission to view more than one tenant).
Every request would, instead of looking at hostname, look at the currentTenant field and inject that instead, in order to return the correct data.
Its important that the developer of the app implementing this bundle can choose to implement option 1 or option 2, so they choose which way they want users to login to their app.
[ ] If subdomain strategy is tenant aware, it should behave as it's now.
[ ] If subdomain strategy is fixed, and there is not activeTenant against the logged in user, we prompt the 'start' screen, same as in 'tenant aware' strategy.
[ ] if subdomain strategy is 'fixed', and there is an activeTenant against the logged in user, we log in that user to that tenant directly.
I'd like users of the multi tenant bundle to have a choice of URLs. Either:
The bundle copes with item 1 at the moment, but for number 2 I'd like an option that the app could only be accessible from go.app.com ('go' could be anything). The user would be presented with a login page, and once logged in it would load into the tenant they used last, using a new field stored against the user called 'currentTenant'.
This field 'currentTenant' would be updated everytime the user changes 'active' tenant from the dropdown list (assuming they have permission to view more than one tenant).
Every request would, instead of looking at hostname, look at the currentTenant field and inject that instead, in order to return the correct data.
Its important that the developer of the app implementing this bundle can choose to implement option 1 or option 2, so they choose which way they want users to login to their app.