Home > Enterprise >  Is it possible to whitelist URL including all its suffixes in Gmail extension's manifest?
Is it possible to whitelist URL including all its suffixes in Gmail extension's manifest?

Time:04-21

I'm developing a Google Workspace extension for Gmail which makes requests to backend API and fetches images from different CDN servers. Therefore it is not possible to include every possible URL in urlFetchWhitelist property of the manifest. Is it possible to add only the server's hostname and use some kind of wildcard to include all of its possible suffixes?

CodePudding user response:

Wildcards are supported in urlFetchWhitelist, but they are limited to sub-domains.

See documentation linked below:

https://developers.google.com/apps-script/add-ons/concepts/workspace-manifests#allowlist_urls

  • Related