+ Start a Discussion

Multi tenant site configuration in one salesforce app

 Hi All, 


1. We have multi tenant system where different URLs for different sites.


2. We want one salesforce app which can be installed by all tenant customers.



problem: in the connected app approch we are not able to change the end points URL according to sites.


Can you please provide any way we can change the end point URL dynamically or by-pass it or configure at the time of installation of app?

You would need to have a common login point, such as how salesforce.com implements their logins (at least, their normal, non-Sandbox logins). The flow should be able to authenticate the user then direct them to the appropriate instance based on the login. Without this condition, you'll need many connected apps, and the tenants will be required to install the correct connected app for connectivity.