In the custom installation page of an app inside Freshdesk, in the iparams.html, we call the Freshdesk API for some of the operations. Earlier we were able to get the tenant Freshdesk domain i.e “xxxx.freshdesk.com” from the HTML document object. This domain was used for calling the Freshdesk API.
Due to some changes from the Freshdesk side, the document object is not referring to the Freshdesk domain of the tenant, but it is referring to a URL which is “*****.appgallery-ind.freshworks.com”. Due to this the installation of our app is failing.
Is there any cleaner way of getting the tenant Freshdesk domain from the iparams.html page, using some utility, without the need of resubmitting the node app for approval, as we already have the app published in the Freshworks marketplace.