I have developped a Cumulocity (C8Y) application. This application can be onboarded or not according to the C8Y tenant.
With other words, my C8Y application can run under different C8Y tenant. My C8Y application needs to know what is the tenant name of the logged-in user. Indeed, my C8Y application needs to communicate with an external application and has to provide the tenant name of the logged-in user.
NOTE : Afaik, there are two solutions to manage the C8Y tenants : solution 1. the url is tenant-specific i.e. http://.domain solution 2. the logged-in user is tenant specific and there is an unique url i.e. : - unique url : http://domain - user name : tenant id/user name
I am using the solution 2