66
Views
4
Comments
[multi-tenant]  generate mobile apps for different tenants
Question
Application Type
Mobile
Service Studio Version
11.10.4 (Build 36717)

we are building a common mobile app for multi-tenant and the app is open to register.  I have a doubt and hope get help:

while we generate and distribute the applications, how can we ensure that the app generated will be only for the certain tenant?  as we cannot ask user to  choose the tenant on login or registration page.



2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

You cannot as had as I know. I worked once on a similar mobile application, and the login was tenant agnostic, after login the tenant was known and branding and features where from there on specific to the tenant. 

The user would stay logged in, unless he would explicitly logout again. So any next time he would start the application it would already know the tenant.

Regards,

Daniel

UserImage.jpg
YouYouJiang

so sad, I know we can capture the specific Tenant ID once one user tries to login.  

Could you share that how you control the user registration process and how the user chooses the correct tenant while he uses the app?


2021-03-30 06-52-52
Ali Amin

Hi,

Apps are not generated based on tenant. You can switch tenant based on user tenant or provide a option to switch to different tenant.

You have to set user tenant during registration by user input or automatically based on your business.

To ensure that the app generation only for the certain tenant is by maintaining a dynamic field which will only allow certain tenant to login or do things.

Hope this helps!!!

Regards,

Ali Amin

2025-08-22 10-19-44
Pramod Jain
 
MVP

Hi YouYouJing,

As mentioned in the above post the app can not be distributed as per tenant, however the login mechanism logs user in to the tenant he/she belongs to. The problem occurred when the same user belongs to multiple tenant and in such cases you need to provide a tenant selection on the login screen . You can also make user login to the default tenant and inside the app you can provide the option to switch tenant.

If your case is where your user in going to be restricted to one tenant only than you don’t need to have any additional logic or distribute app per tenant , platform by default take cares of it.

For the other cases as I mentioned you can decide other options.


Regards ,

-PJ-

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.