Adding domains to the allowlist
Use settings to add more configurations required by external applications to access App Configuration resources. By default, the Settings page displays Allowlist Domains.
Allowlisting domains
The Allowlist Domains is used for enabling Cross-Origin Resource Sharing (CORS) when using client-side browser SDKs' to access App Configuration resources by external applications. CORS is a specification, which enables controlled access to App Configuration resources from resources that are located outside of a domain.
Adding domains to allowlist
To add domains to allowlist, complete these steps:
-
In the App Configuration console, click Settings.
List of additional settings -
Click Edit. The side panel opens with fields for adding URLs to be allowlisted.
-
Enter the URL of the domain that needs to be added to Allowlisted Domains and click Add +. Repeat this step to add more URLs.
List of allowlisted domains -
Click Save.
You can also modify the URL of the domains by using the Edit option.
If you are using JavaScript or React SDK, you need to allowlist your domains using the previously mentioned steps or by using App Configuration API. For more information, see here.