Network access declarations now required for apps that run on the online store
Public apps and externally installed custom apps that run code on the online store must declare allowed_sources in shopify.app.toml, or face rejected deploys from 1 December 2026.

- Published
- 5 Dec 2026
What changed
Shopify now requires apps that run code on the online store to declare allowed_sources in the [network_access] section of shopify.app.toml. The requirement was announced in a changelog post published on 19 November 2026. That date is the announcement, not a deadline.
Shopify's stated reason is that injected scripts can load code onto a storefront from any server. Declaring your app's servers helps Shopify spot suspicious requests, which it says protects your app and the merchants who use it.
Shopify also lists an optional allowed_navigation_hosts setting in the same section, for hosts your app links customers to. The changelog does not give an API version for this change, and none of the sources state one.
Who is affected
Two kinds of app are in scope: public apps, and custom apps that you install on stores outside your organisation. Either is affected if it uses any of the following:
A theme app extension block or app embed.
Script tags on the online store.
An app proxy.
The
write_themesaccess scope.A web pixel with the
write_open_pixelsaccess scope.
Not affected
Apps that only write content, such as metafields, menus or products.
Apps that have a checkout UI extension but none of the features listed above.
Custom apps that you install only on stores within your organisation.
Apps that merchants create in the Dev Dashboard or in the Shopify admin.
Web pixels that run in the default strict sandbox.
Deadlines
These are calendar dates that apply to every in-scope app. They are separate from the 19 November 2026 publication date of the changelog, which is when the requirement was announced, not a deadline. No API version is involved, so nothing here depends on upgrading an API version.
1 December 2026
Public apps: Shopify rejects deploys and Shopify App Store submissions from apps that haven't declared their network access. Merchants see a warning in the Shopify admin. Existing app versions keep working.
Custom apps installed outside your organisation: Shopify rejects deploys.
1 January 2027
Public apps: Shopify delists apps that haven't declared from the Shopify App Store and blocks new installs. Existing installs keep working.
Custom apps installed outside your organisation: Shopify blocks installs of your apps outside your organisation until every in-scope app declares its network access. One app without a declaration therefore holds back installs of all of them.
The dates come from the changelog and match the upcoming security deadlines table in Shopify's app security documentation. The changelog mentions the merchant warning only for public apps on 1 December 2026. For any other upcoming security dates, check that table.
What to do
Add every external server that your app's code loads from or sends requests to, such as your API or CDN, to
allowed_sources. This covers your extensions and the pages your app serves, such as your app home and HTML or Liquid app proxy pages. Each entry is an HTTPS origin, and the list can hold up to 30.If your app doesn't contact any external servers, set
allowed_sources = []. An empty list counts as a declaration.Optional: add the hosts that your app links customers to from the online store, such as your app's own site, to
allowed_navigation_hosts. List only hosts that you control. Shopify skips the exit interstitial for links to those hosts.Test the lists on a dev store that has the Network access testing feature preview. Run
shopify app dev --store <your-dev-store>.myshopify.comand keep it running while you test.Check the browser console for Content Security Policy warnings. If a warning names one of your servers, add it to
allowed_sources. If a link to one of your hosts shows the exit prompt, add the host toallowed_navigation_hosts.When the lists are complete, run
shopify app deployand release the new app version. Shopify checks both lists again when it creates the version, and rejects the deploy if an entry breaks the rules in thenetwork_accessreference.
Example configuration
The changelog gives this minimal configuration. It declares one server that the app's code loads from or sends requests to, and one host that the app links customers to.
[network_access]
allowed_sources = ["https://api.app.example.com"]
allowed_navigation_hosts = ["app.example.com"]allowed_sources takes HTTPS origins, and allowed_navigation_hosts takes plain hosts. The reference page says each list can hold up to 30 entries. List each host or source once, however many parts of your app use it.
What to leave out
Anything that Shopify serves, such as the files in a theme app extension's
assetsfolder. In the documentation's example, a block loadsreviews.jsthroughasset_url, and that file needs no entry.Your app proxy URL. The store serves app proxy pages from its own domain, so the proxy URL itself needs no entry. Servers that the proxy page loads from or sends requests to, such as a CDN script, still need to be listed.
The documentation also says to list only hosts that you control in allowed_navigation_hosts, such as your app's own domain.
Testing notes and open points
The Network access testing feature preview is under development, and Shopify says its behaviour might change. Treat a quiet console as a useful signal, not proof that your declaration is complete.
Testing notes
Test at the store's
myshopify.comaddress. Do not test in a theme preview, such as the theme editor's Preview or the local127.0.0.1preview URL that Shopify CLI prints. Shopify does not add the Content Security Policy to theme previews, so the console stays quiet there even when servers are missing.To confirm the policy applies to a page, check that the response has a
Content-Security-Policy-Report-Onlyheader.Do not install other apps on the test store. Shopify combines the
allowed_sourcesof every app on the store into one policy, so another app's entry can hide a missing one in yours.The preview covers the online store only. Requests from checkout UI extensions do not show Content Security Policy warnings.
A link that does not show the exit prompt may still be undeclared, because Shopify also skips the prompt for its own hosts, popular social and service sites, the store's domains, and hosts the merchant trusts.
If the header lists none of your app's servers while
shopify app devis running, Shopify may have left every app's servers out of the policy for that page view, either because the policy would be too long or because it could not read the apps' declarations. Declared servers will then warn too.The console does not warn about Google Fonts. If your app uses them, add both
https://fonts.googleapis.comandhttps://fonts.gstatic.comtoallowed_sources.
Open points
The metadata lists no affected API and no effective API version, and the sources state none. This is a requirement on app configuration and deploys, not an API version change, so no version upgrade triggers it. The sources do not say whether the preview will change before the December 2026 deadlines.
Get the weekly digest
One email every Monday: what changed in Shopify, the deadlines coming up and what’s been announced, plus the week’s new guides. Free, and you can unsubscribe in one click.
Sources
- Network access declarations are now required for apps that run on the online store · Shopify · accessed 19 Nov 2026
- App configuration · Shopify · accessed 19 Nov 2026
- Declare your app's network access · Shopify · accessed 19 Nov 2026
- About app security · Shopify · accessed 19 Nov 2026
AI-assisted, reviewed by Scott. Every claim is checked against the sources above.