Why Shopify Accelerated App Security Enforcement Heading Into 2027
On December 3, 2026, Shopify published an `Action required` update on the Shopify Developer Changelog extending the first storefront network-access deadline from December 1 to December 8, 2026, reiterating hard January 1, 2027 App Store delisting and partner-install blocks, and previewing three brand-new protections—including automatic pauses for inactive custom apps and mandatory protected customer data opt-ins for custom and merchant apps.
This is not a routine API deprecation. Shopify's App Security Hub frames the rollout directly around how AI coding and security agents have compressed exploit timelines across ecommerce ecosystems:
"Agentic development has changed the pace of security for both attackers and developers. AI agents find weaknesses in minutes that used to take weeks of manual review, and that capability is as available to attackers as it is to you." — Shopify Developer Documentation, App Security Hub
For Shopify app developers and agencies, missing a single requirement can reject deploys on December 8, delist a public app on January 1, or freeze your entire Partner organization from installing any custom app on client stores. For Shopify merchants, non-compliant apps will start triggering admin warnings on January 15, 2027, legacy ScriptTags will stop loading completely on March 1, 2027, and public apps still running non-expiring Admin API tokens will break on April 1, 2027.
Complete Shopify App Security Enforcement Calendar (Nov 2026 – Apr 2027)
Every date below is verified directly from Shopify's December 3, 2026 changelog and the Shopify App Security Hub:
| Effective Date | Who Is Affected | Requirement | Enforcement Action |
|---|---|---|---|
| Nov 12, 2026 (live) | Public apps | IP allowlist | Bulk queries and bulk mutations blocked without an IP allowlist |
| Nov 20, 2026 (live) | Public apps | IP allowlist | Delisted from Shopify App Store, blocked from new installs, flagged in Settings > Apps (existing installs keep working) |
| Nov 20, 2026 (live) | Partner custom apps | IP allowlist | Required before installing an app on any store outside your organization |
| Dec 1, 2026 (live) | New custom & merchant-created apps | Expiring offline access tokens | Mandatory for GraphQL & REST Admin API requests; deploys and auth blocked without it (pre-Dec 1 custom apps keep existing tokens) |
| Dec 8, 2026 (moved from Dec 1) | Public & custom storefront apps | Network access (allowed_sources) | Deploys and App Store submissions rejected without [network_access] in shopify.app.toml (existing versions keep working) |
| Jan 1, 2027 | Public apps | Expiring offline access tokens | Delisted from Shopify App Store, blocked from new installs, flagged in Settings > Apps |
| Jan 1, 2027 | Public storefront apps | Network access (allowed_sources) | Delisted from Shopify App Store and blocked from new installs |
| Jan 1, 2027 | Partner custom apps | IP allowlist + Network access | Every app already installed on stores outside your organization must comply—if even one legacy app is missing either, you cannot install any app on external stores |
| Jan 15, 2027 | Public apps (merchant-visible) | IP allowlist & expiring tokens | Merchants see an in-admin warning banner on non-compliant public apps |
| Mar 1, 2027 | All apps | Theme app extensions replacing ScriptTags | Shopify stops injecting ScriptTags into storefronts; JavaScript via ScriptTag stops loading entirely |
| Apr 1, 2027 | Public apps | Expiring offline access tokens | GraphQL and REST Admin API calls using non-expiring offline tokens are rejected; merchants lose app access until re-authenticated |
If your team tracks platform changes alongside quarterly API cycles, pair this security calendar with our Shopify API versioning guide so deprecation dates and security enforcement cutoffs stay on one release board.
December 8 Deadline: Declaring Storefront Network Access in shopify.app.toml

The most immediate cutoff in the Shopify app security rollout hits December 8, 2026—pushed back one week from December 1 to give developers post-BFCM breathing room. Starting December 8, Shopify rejects deploys and App Store submissions from any covered storefront app that does not declare its external network endpoints in shopify.app.toml.
Which Apps Must Declare allowed_sources
According to Shopify's Declare your app's network access documentation, allowed_sources is required for public apps—and for custom apps installed on stores outside your organization—whenever the app uses any of five storefront capabilities:
- 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
Two critical nuances trip up teams auditing their repos:
- Zero external servers still requires an explicit declaration: If your storefront extension loads nothing outside Shopify's own assets, you still must declare an empty array (
allowed_sources = []). - What does NOT trigger the requirement: Apps that only write admin data (such as metafields, menus, or products) do not need to declare, and Checkout UI extensions on their own do not trigger storefront network-access declarations. You also leave out assets served directly by Shopify (files inside your theme app extension's
assets/folder) and your app proxy URL (since the store serves app proxy pages from its own domain).
New on Dec 3: wss:// WebSocket Support and Exact Config Syntax
In a companion December 3, 2026 changelog, Shopify expanded allowed_sources—previously HTTPS-only—to accept secure WebSocket origins (wss://) for live chat widgets, real-time inventory counters, and collaborative storefront embeds. Unencrypted ws:// endpoints remain blocked, and wss:// origins must be declared separately even if the same hostname is already listed with https://.
Both HTTPS and wss:// entries share subdomain wildcard support (https://*.cdn.app.example.com) and a 30-entry limit on allowed_sources. Here is the exact shopify.app.toml structure documented by Shopify:
[network_access]
# Optional: external domains shoppers navigate to via links
allowed_navigation_hosts = ["app.example.com"]
# Required for storefront apps (max 30 entries; use [] if none)
allowed_sources = [
"https://cdn.app.example.com",
"https://api.app.example.com",
"wss://chat.app.example.com",
]How to Test Before Deploying
Before pushing a production app version, Shopify provides a Network access testing feature preview for development stores:
- Create a dev store with the Network access testing feature preview enabled.
- Run your app locally via
shopify app devagainst that dev store and confirm page responses include theContent-Security-Policy-Report-Onlyheader. - Click through every storefront link and widget interaction: external links to undeclared hosts trigger an exit prompt (add those hosts to
allowed_navigation_hosts), while undeclared script, fetch, or WebSocket connections log Content Security Policy warnings in the browser console (add those origins toallowed_sources).
Shopify is rolling out new security enforcement dates, Dev Dashboard checks, and token cutoffs every few weeks through spring 2027—we flag every Action-Required Shopify changelog item the morning it lands in Talk Shop Daily.
January 1 & April 1, 2027: Expiring Offline Access Tokens and IP Allowlists

While December 8 blocks new deploys for missing network declarations, January 1, 2027 is the ecosystem-wide enforcement cliff for both expiring offline access tokens and partner custom app IP allowlists.
1. Expiring Offline Access Tokens (1-Hour Lifetime + 90-Day Refresh)
Historically, Shopify offline access tokens (shpat_...) never expired—meaning a single leaked database dump or compromised environment variable could grant indefinite GraphQL and REST Admin API access to a merchant's store until someone noticed and uninstalled the app.
Under Shopify's Access tokens specification, expiring offline tokens replace permanent credentials with short-lived access tokens paired with rotating refresh tokens:
| Token Type | Lifetime | Renewal Mechanism | 2026–2027 Enforcement Status |
|---|---|---|---|
| Expiring offline access token (shpat_) | 1 hour (expires_in: 3600) | Automated refresh via refresh_token (no user interaction) | Required for public apps (since Apr 1, 2026) and new custom/merchant apps created on/after Dec 1, 2026 |
| Offline refresh token | 90 days (refresh_token_expires_in: 7776000) when issued | Rotated on refresh (read expires_in dynamically; never hard-code) | Required wherever expiring offline tokens are used |
| Non-expiring offline access token (shpat_) | No expiry (until uninstall or secret rotation) | None | Public apps delisted Jan 1, 2027; Admin API calls rejected Apr 1, 2027; pre-Dec 1 custom apps keep existing tokens |
| Online access token (shpat_) | 24 hours or staff logout (whichever is first) | Re-run token exchange during active staff session | Unchanged — use for interactive user-attributed admin workflows |
| Client credentials grant token | 24 hours | Request a fresh token with the same grant | Available for eligible apps installed on stores within your own organization |
Key detail for existing app teams: Shopify keeps one current expiring offline token per app and store, and retired tokens remain valid until their expires_in window completes so in-flight background jobs finish cleanly. Always read expires_in from the token response rather than hard-coding 3,600 seconds. If you are revisiting how your backend authenticates background jobs and webhook consumers, review our Shopify Admin API developer guide and Shopify webhooks guide.
2. IP Allowlists and the Hidden Agency Trap on January 1
When IP allowlist enforcement is enabled in the Dev Dashboard, Shopify validates the source IP address of every GraphQL Admin API and REST Admin API call using your app's tokens and returns `403 Forbidden` for any unapproved or unverifiable source address, per Shopify's IP allowlist documentation.
Three operational gotchas catch agencies and serverless developers off guard:
- The portfolio-wide freeze for Partner custom apps on January 1, 2027: Starting November 20, 2026, any new custom app installed outside your organization required an IP allowlist. Starting January 1, 2027, every existing custom app you have installed on external client stores must have both an IP allowlist and declared network access. If even one forgotten 2023 client integration lacks an IP allowlist or network declaration, Shopify blocks your Partner organization from installing any of your apps on external stores until the full portfolio is compliant.
- Serverless hosting requires ASN rules (or static egress IPs): If your app runs on static server IPs, allow those exact CIDR ranges. If it runs on dynamic serverless platforms (Vercel, AWS Lambda, Cloudflare Workers, Fly.io), Shopify supports allowing your hosting provider's Autonomous System Number (ASN)—or mixing ASNs with specific CIDR ranges for third-party middleware. Apps that never call the Admin API with their own tokens can block all IP addresses outright.
- Hard incompatibilities (`Shopify Flow` and `Oxygen`): Shopify explicitly documents that IP allowlists do not work with access tokens used by the Shopify Flow `Send HTTP request` action or with GraphQL Admin API calls sent directly from an Oxygen-hosted storefront, because Shopify cannot confirm a deterministic source IP for those calls and rejects them with
403. (Dev preview requests and direct API access from embedded app pages, Admin UI extensions, and POS UI extensions are never rejected.) Teams weighing workflow architecture can compare native Flow limits against external middleware in our Shopify Flow vs. Zapier comparison.
March 1, 2027: ScriptTags Stop Loading Across Every Shopify Storefront
Buried right behind the January 1 cliff on Shopify's App Security Hub is a hard storefront cutoff that hits merchants just as visibly as developers: on March 1, 2027, Shopify stops injecting legacy ScriptTags into storefronts altogether. Any JavaScript still delivered via the ScriptTag API will simply stop loading.
What must happen before March 1:
- Public and partner custom apps: Migrate storefront scripts to app embed blocks inside a theme app extension (for visual widgets, popups, chat, or storefront behavior) or to Web Pixels (for analytics and conversion tracking). Developers comparing storefront extension patterns can check our Shopify app blocks vs. theme sections guide.
- Merchant-created admin custom apps: Because legacy admin-created custom apps cannot use app extensions, Shopify instructs merchants to move any remaining ScriptTag JavaScript directly into the theme codebase (or replace it with a native Web Pixel / maintained app).
Three Newly Announced Protections Previewed on December 3
Beyond the fixed December–April deadlines, Shopify's December 3 changelog announced three upcoming security controls whose exact activation dates will be shared as they roll out:
- 180-day auto-pause for inactive merchant custom apps: Merchant-created custom apps that have gone unused for more than 180 days will be paused automatically. Shopify will send merchants an advance notice before pausing, and stores can re-enable a paused app with one click in the Dev Dashboard. This eliminates "zombie" seasonal or one-off migration apps that retain Admin API scopes years after a project ended.
- Suspicious app activity confirmation emails: Shopify is rolling out merchant alerts when an app displays anomalous behavior, giving store owners a chance to confirm whether the activity was expected (such as a planned ERP backfill or bulk catalog sync) before Shopify takes further enforcement action.
- Protected customer data access for custom and merchant apps (with 60-day expiry): Previously enforced on public App Store apps, partner custom apps and merchant apps will soon have to explicitly enable access to protected customer data fields (names, emails, addresses, phone numbers) inside the Dev Dashboard. Even more importantly, apps that do not use protected customer data for 60 days will lose access and must re-enable it—something agencies building quarterly reporting or seasonal fulfillment scripts need to plan around.
Action Matrix: What Developers, Agencies, and Merchants Must Do This Week

Because the December 8, January 1, March 1, and April 1 rules affect each group differently, use the matrix below to assign owners immediately:
| Role | Immediate Action (Before Dec 8, 2026) | Pre-New-Year Cutoff (Before Jan 1, 2027) | Q1 2027 Follow-Through (Jan 15 – Apr 1, 2027) |
|---|---|---|---|
| Public App Developers | Add [network_access] allowed_sources (including wss:// if used, or []) to shopify.app.toml and test with Network access testing preview | Complete migration to expiring offline access tokens and confirm IP allowlist + network declarations to avoid Jan 1 App Store delisting | Replace any legacy ScriptTags before Mar 1; verify zero non-expiring tokens remain before Apr 1 API rejection |
| Agencies & Partner Custom App Teams | Audit every custom app using theme extensions, app proxies, ScriptTags, write_themes, or write_open_pixels and deploy allowed_sources | Audit 100% of custom apps installed on external client stores—add IP allowlists + network declarations (or uninstall abandoned legacy apps) so Jan 1 does not freeze new installs | Watch for Dev Dashboard protected customer data enablement and 60-day inactivity windows; migrate ScriptTags by Mar 1 |
| Shopify Merchants & Store Ops | Review Settings > Apps for any apps already flagged since Nov 20 (missing IP allowlists) and email vendors of critical custom integrations | Confirm your agency/ERP integrator has an IP allowlist and expiring-token roadmap; remove unused legacy custom apps you no longer need | Watch for Jan 15 admin warning banners; audit theme/app ScriptTags before Mar 1; confirm alert emails go to a monitored ops inbox for upcoming 180-day pause & suspicious-activity notices |
6-Step Security Audit Sequence for Agencies and Store Owners
- Inventory every installed public, partner custom, and merchant-created app: Export your full app list in Shopify Admin → Settings → Apps (and your Partner Dev Dashboard if you manage client apps). If your store has accumulated legacy tools over the years, start with our Shopify app audit guide to prune dead weight before remediating what stays.
- Delete or disconnect abandoned external custom apps first: For Partner agencies, uninstalling dead test apps or retired client integrations is often the fastest way to ensure a forgotten 2023 app does not trigger the January 1 portfolio-wide install lock.
- Declare `[network_access]` and verify under `Content-Security-Policy-Report-Only`: Add every third-party HTTPS and
wss://origin (max 30) toshopify.app.toml, test on a dev store with Network access testing enabled, and ship before December 8. - Configure narrowest-possible IP allowlists (CIDR over ASN where static): Lock production Admin API calls to static egress CIDRs when available, fall back to provider ASNs on serverless platforms, and verify no workflow relies on
Shopify Flow Send HTTP requestorOxygenAdmin API calls with an allowlisted token. - Upgrade offline token handling to 1-hour access + 90-day refresh rotation: Use Shopify's official authentication libraries and dynamic
expires_inhandling—never hard-code expiry intervals—and test token rotation in staging well ahead of January 1 (delisting) and April 1 (API rejection). For teams building new custom apps or modernizing older ones, see our guide to creating a Shopify app from scratch and 2026 Shopify custom app development changes. - Lock down store-level security hygiene alongside app compliance: Make sure staff 2FA, least-privilege permissions, and incident response contacts are current using our Shopify store security best practices guide so upcoming suspicious-activity emails and 180-day pause notices reach the right operator immediately. If you are also adopting browser-side AI storefront extensions, check our breakdown of Shopify WebMCP in storefronts and Checkout to keep new agentic endpoints inside your declared network allowlist.
Frequently Asked Questions About Shopify's 2026–2027 App Security Updates
What happens on December 8, 2026 if my Shopify app has not declared network access?
Starting December 8, 2026, Shopify rejects new app deploys and Shopify App Store submissions for covered public and custom storefront apps that lack a [network_access] allowed_sources declaration in shopify.app.toml. Existing already-deployed app versions continue working after December 8—until January 1, 2027, when non-compliant public storefront apps are delisted and blocked from new installs, and non-compliant partner custom apps block external installs across your Partner organization.
Do existing custom apps created before December 1, 2026 have to switch to expiring offline tokens?
No—not under the current timeline. Shopify's Access tokens documentation confirms that expiring offline access tokens became mandatory on December 1, 2026 for new custom and merchant-created apps created on or after that date, while pre-December 1 custom apps can keep their existing non-expiring offline tokens. The January 1, 2027 delisting and April 1, 2027 Admin API rejection deadlines apply specifically to public apps.
Can I use an IP allowlist if my Shopify app runs on serverless hosting like Vercel or AWS Lambda?
Yes. Shopify's IP allowlist supports both static CIDR IP ranges and hosting-provider Autonomous System Numbers (ASNs)—and lets you combine static IPs and ASNs in the same allowlist. Just verify that your app does not share those tokens with the Shopify Flow Send HTTP request action or with Admin API calls originating directly from an Oxygen storefront, as Shopify cannot verify a source IP for those two paths and returns 403.
Will my merchant store break if an inactive custom app gets auto-paused after 180 days?
Shopify states that merchants will receive an advance notice before an inactive custom app (unused for more than 180 days) is automatically paused, and merchants can reactivate a paused app with one click in the Dev Dashboard. The main risk is for annual or seasonal scripts (such as tax exports or once-a-year BFCM utilities) if the notification email goes to an unmonitored inbox—so audit who receives Shopify Dev Dashboard and store owner alerts now.
Do apps that only use Checkout UI extensions or Admin API metafields need allowed_sources?
No. Shopify explicitly notes that apps writing only admin content (such as metafields, menus, or products) do not need a storefront network-access declaration, and Checkout UI extensions on their own do not trigger the requirement. However, if your app uses a theme app extension block/embed, ScriptTag, app proxy, write_themes, or a web pixel with write_open_pixels, you must declare allowed_sources—even if it is an empty array (allowed_sources = []). If you want to compare notes with other developers and store owners working through these deadlines, join the Talk Shop Shopify developer community.
---
Bottom line: Shopify's December 3 security update turns app hygiene from a best practice into a hard deployment, listing, and install gate between December 8, 2026 and April 1, 2027. Audit your shopify.app.toml network declarations and legacy external client apps this week—waiting until January risks an unexpected Partner-wide install freeze or App Store delisting right as Q1 launches kick off.

About Talk Shop
The Talk Shop team — insights from our community of Shopify developers, merchants, and experts.
Talk Shop Discord
Stuck on Shopify Payments, Liquid, or store ops? Ask 5,800+ merchants and devs in real time.
Join DiscordTalk Shop Daily
Daily ecommerce news, teardowns, and tactics.
Related Insights
Shopify WebMCP in Storefronts and Checkout: What Merchants and Developers Need to Know
Shopify shipped WebMCP tools across Liquid, Hydrogen, and Checkout, running 2.7x faster and 58% cheaper than browser automation. Learn how it works and what to audit.
UCP vs ACP: The Agentic Commerce Protocol War, Explained for Devs
Two rival agentic commerce protocols are fighting to standardize how AI agents buy from your store. Here is how UCP and ACP actually differ, who backs each, and how to prepare your Shopify store for both.
Shopify Functions Metaobjects: Build Data-Driven Discount Logic
Shopify Functions can now read app-owned metaobjects. Learn the input query syntax, a tiered-discount example, and best practices for dynamic, data-driven logic.
Headless CMS for Ecommerce: Choosing the Right One for Shopify
A headless CMS handles the content layer your Shopify storefront can't. Compare Sanity, Contentful, Storyblok, Prismic, Builder.io, and Contentstack for a Hydrogen build.
