Platform

Shopify app security deadlines: what to do before December 1

Four Shopify app security changes with dates in December 2026 and January 2027: IP allowlists, network access in shopify.app.toml, expiring offline tokens and abandonedCheckoutUrl. A checklist with the exact config.

Bas Lefeber

Founder, learnshopify.dev

Published
Reading time
6 min read
Know your shopify.app.toml firstA 6-minute lesson from the app development path: what each part of shopify.app.toml does and which lines you own. Free.

Shopify announced four app security changes on November 19, 2026, and most of them start on December 1, 2026. Public apps need an IP allowlist (already enforced since November 20). Apps that run on the online store must declare their network access in shopify.app.toml, or deploys are rejected. New custom apps must use expiring offline access tokens. And abandonedCheckoutUrl now needs approval for protected customer data. Below is what each change means and what to do.

Four changes, one checklist.
ChangeWhoDateWhat happens
IP allowlistPublic appsNovember 20, 2026Apps without one are delisted and blocked from new installs. Existing installs keep working.
IP allowlistCustom apps installed outside your organizationNovember 20, 2026, then January 1, 2027An allowlist is needed before installing on a store outside your organization. From January 1, every app already installed outside your organization needs one too.
Network accessPublic apps that run on the online storeDecember 1, 2026, then January 1, 2027Deploys and App Store submissions rejected. From January 1, delisted and blocked from new installs.
Network accessCustom apps installed outside your organization that run on the online storeDecember 1, 2026, then January 1, 2027Deploys rejected. From January 1, installs outside your organization blocked.
Expiring offline tokensNew custom and merchant-created appsDecember 1, 2026Apps created on or after this date must use expiring offline tokens. Older apps can keep theirs.
abandonedCheckoutUrlPublic apps, then partner custom and Dev Dashboard merchant-created appsDecember 1, 2026, then January 1, 2027The field needs approval for name, email, phone and address.
From Shopify's changelog posts of November 19, 2026, read on November 24.

1. Add an IP allowlist

An IP allowlist tells Shopify which servers may call the Admin API with your app's tokens. A request from anywhere else gets a 403. Public apps without one were delisted on November 20, 2026, and adding one relists the app. Since November 20, a custom app also needs one before you install it on a store outside your organization, and from January 1, 2027 every custom app already installed outside your organization needs one too (Shopify's announcement, IP allowlist docs).

It is set in the Dev Dashboard, not in a file:

  1. Open your app in the Dev Dashboard and go to Settings. Click Manage next to IP allowlist.
  2. Enter your servers' IP addresses or CIDR ranges. You can also allow networks by ASN, for a host whose IPs change.
  3. Click Run test under Test against recent traffic, so you see which recent requests would have been blocked.
  4. Turn on Enforce IP allowlist and save. Check that a request from outside the list now returns 403.

Run the test before you enforce it. If your host or a background job calls the API from an address you did not list, the test shows it. The IP allowlist docs list the limits on entries.

2. Declare network access in shopify.app.toml

This one changes your code. If your app runs anything on the online store, you must list the servers it talks to there. Your app is in scope if it uses any of these (changelog):

  • A theme app extension block or app embed.
  • Script tags on the online store (they are on their way out too, see Shopify script tags are deprecated).
  • An app proxy.
  • The write_themes access scope.
  • A web pixel with the write_open_pixels access scope.

Not in scope: apps that only write content such as metafields or products, apps with only a checkout UI extension, custom apps installed only in your own organization, and apps a merchant created. Add a [network_access] section to shopify.app.toml:

shopify.app.toml
[network_access]allowed_sources = [  "https://api.app.example.com",  "https://cdn.app.example.com",]allowed_navigation_hosts = [  "app.example.com",  "help.app.example.com",]

allowed_sources lists every server your storefront code loads files from or sends requests to, as HTTPS origins. allowed_navigation_hosts is optional: hosts that shoppers are linked to, such as your help site. If your storefront code talks to no outside server at all, declare that with an empty list. An empty list still counts as a declaration:

shopify.app.toml
[network_access]allowed_sources = []

The rules for entries, from the configuration reference: up to 30 entries in each list, no IP addresses or localhost, no Shopify domains, and no shared domains like https://s3.amazonaws.com. Use the host you own, like https://my-bucket.s3.amazonaws.com. In allowed_sources only, you can cover subdomains with *., for example https://*.cdn.app.example.com. allowed_navigation_hosts takes plain lowercase host names with no wildcards, scheme, port or path, like app.example.com. If you load Google Fonts, list both https://fonts.googleapis.com and https://fonts.gstatic.com (declare network access).

Then test it on a dev store with the Network access testing preview, deploy, and release the new version:

bash
shopify app deploy

Shopify has not published the exact text of the deploy rejection. Its docs say the CLI shows an error when an entry breaks the rules. Existing app versions keep working after December 1. It is the next deploy that fails.

Learn this properly · free lesson

Clean up shopify.app.toml

Know your shopify.app.toml before you change it: what each section does and which lines you own. From the app development path, free.

Try this lesson for free

3. Use expiring offline access tokens in new custom apps

An offline access token lets your app call the Admin API when no one is logged in. Until now most of them never expired. Every custom app and merchant-created app created on or after December 1, 2026 must use expiring offline tokens. New public apps have needed them since April 1, 2026 (changelog).

If you use token exchange or the authorization code grant, add expiring=1 to the token request to POST https://{shop}.myshopify.com/admin/oauth/access_token. You get an access token that lasts one hour and a refresh token that lasts 90 days. Store the refresh token and use it to get new access tokens (access tokens docs). Shopify's recent app templates already do this. Apps that use the client credentials grant need no change, because those tokens already expire after 24 hours.

Public apps on old tokens

The access tokens docs also give dates for public apps still on non-expiring offline tokens: delisted on January 1, 2027, and their Admin API requests rejected from April 1, 2027.

4. abandonedCheckoutUrl needs protected customer data

Reading AbandonedCheckout.abandonedCheckoutUrl (or abandoned_checkout_url in REST) now needs approval for all four protected customer data fields: name, email, phone and address. Approval for some of them is not enough. Public apps from December 1, 2026. Partner custom apps and apps merchants create in the Dev Dashboard from January 1, 2027 (changelog).

Without approval, a GraphQL query with this field returns an ACCESS_DENIED error and the data around it is null, so a whole abandonedCheckouts list comes back empty. REST responses and the checkouts/create and checkouts/update webhooks drop the field with no error. Dev stores do not enforce this, so your tests will still pass.

If your app does not need the URL, remove the field from your queries. If it does, request access in the Dev Dashboard: Settings, Access requests, Protected customer data, Manage, then select name, email, phone and address with a reason for each (protected customer data). Public apps go through a data protection review. Custom apps can turn the fields on themselves.

The checklist

  1. Dev Dashboard: add an IP allowlist, run the test against recent traffic, then enforce it.
  2. Check if your app runs on the online store (theme app extension, app embed, script tags, app proxy, write_themes, write_open_pixels).
  3. If it does, add [network_access] with allowed_sources to shopify.app.toml, or allowed_sources = [].
  4. Test on a dev store with the Network access testing preview, run shopify app deploy and release the version.
  5. New custom app after December 1? Request tokens with expiring=1 and store the refresh token.
  6. Search your code for abandonedCheckoutUrl and abandoned_checkout_url. Remove it, or request all four protected customer data fields.
  7. Turn on multi-factor sign-in for your partner account. Shopify's announcement says it is required on every partner account.

Shopify keeps all dates in one place on its upcoming security deadlines list. If you are moving an app to real hosting at the same time, the hosting post covers the other lines in shopify.app.toml that change.

On learnshopify.dev, the app development path has you build, deploy and release a real app on your own dev store, shopify.app.toml included. The first 15 lessons are free.

Frequently asked questions

What is network_access in shopify.app.toml?

A section where an app that runs on the online store lists the servers its storefront code talks to: allowed_sources (HTTPS origins, required) and allowed_navigation_hosts (optional). Use allowed_sources = [] if it talks to none. From December 1, 2026 Shopify rejects deploys of in-scope public apps and custom apps installed outside your organization without it.

Which Shopify apps need a network access declaration?

Public apps, and custom apps installed outside your organization, that use a theme app extension or app embed, script tags on the online store, an app proxy, the write_themes scope, or a web pixel with write_open_pixels. Apps that only write content, apps with only a checkout UI extension and merchant-created apps are not in scope.

Where do I set an IP allowlist for a Shopify app?

In the Dev Dashboard: open the app, go to Settings, click Manage next to IP allowlist, enter your IP addresses, CIDR ranges or ASNs, run the test against recent traffic, then turn on Enforce IP allowlist. Requests from outside the list get a 403.

Do existing custom apps need expiring offline access tokens?

No. The requirement applies to custom apps and merchant-created apps created on or after December 1, 2026. Apps created before that can keep their existing offline tokens.

Why does abandonedCheckouts return null in my Shopify app?

If your query asks for abandonedCheckoutUrl and your app is not approved for all four protected customer data fields (name, email, phone, address), GraphQL returns ACCESS_DENIED and nulls the surrounding data. Remove the field or request access in the Dev Dashboard. Dev stores do not enforce this, so it only shows on real stores.

  • Shopify apps
  • security
  • Shopify CLI
  • Admin API

About the author

Bas Lefeber, Founder, learnshopify.dev

Bas builds learnshopify.dev, where developers learn production-grade Shopify theme development against a live storefront. He writes about Liquid, theme architecture, and the parts of the job that still matter now that AI writes the code.

Keep going in the curriculum

Start free

Ready to become a Shopify developer?

You just read how it works. Now write it yourself: real tickets from a live store, in an editor where the storefront updates as you type. Module 1 is free, no card.

Start your first lesson

Free · No credit card · Your first win in minutes