Allow list any subdomain and domain in manifest

Hi,

Hope you are fine.

On my marketplace apps whitelisted domains issues abruptly appeared. So I am trying to fix it but there are some conditions:

We can’t use sub-domains of any staging environment e.g (https://asterisk.asterisk.com) URL is (https://domainName.staging.com) & also not accepting top level domains e.g (https://.) URL is (https://*.com or .us or .org & etc)

Please look into this issue or any other way to whitelisting all of these.

Regards,
Furqan

@velmurugan @Saif Could you please look into this issue.

Hi @Furqan_Mehboob,

I am just trying to understand this with examples,

[1] https://*.*.com
[2] https://subdomain.example.com
[3] https://*.com or https://*.us or https://*.org

Are all the above three versions failing? While I will need to confirm for 1 and 3, the #2 should work just fine.

Are you seeing the errors in the CLI (please do share the fdk.log file generate in log/ directory)? or when the response when you make the API call?

Hi @Saif,

Yes, from these examples only No.1 is not working rest of them are working but lemme inform you No.1 & No.2 are same because I want to whitelist domain names with two parts in a asterisk form which is actually not working.

Secondly, No.3 is working fine but obviously we can’t mention it globally e.g (https://.) or we have to mention them separately which is obviously not a good practice.

Reagrds,
Furqan

1 Like

@Saif,

So any solution for this whitelisting URL’s ?

1 Like

@Saif this is the issue we are facing for our already live apps. Can you please suggest a way around?
Writing the problem again below:
We have to whitelist the domains in our app.
In case of our WooCommerce app, the WooCommerce website’s urls doesn’t follow any specific pattern, instead they can be anything with any domain (.org, .com, .edu etc). We can’t whitelist domains at such general level within our app. Due to this issue, our integration of Woocommerce with Freshdesk and Freshsales, both have been affected.

your help will be highly appreciated here.

I was just typing out a reply to understand what makes the app the need for any subdomain and any domain. Meanwhile, thanks for adding it in reply @yusrakhatri

@Furqan_Mehboob
I might still be incorrect – Could the Freshdesk/Freshsales Admin know the domain and capture this detail in the configuration page? And app can use it to whitelist and make API calls?

1 Like

We can use iparam values in manifest right? yes we know the domain and it is saved in iparams. I guess this would solve our problem

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.