Skip to content
Let's talk
Shopify Guides

Shopify's New Security Rules for Custom Apps: Who Must Act, and by When

Custom apps now face the same security model as public ones, on their own timeline. If you build apps for stores outside your organization, every new install already needs an IP allowlist, and every existing install needs one by January 1, 2027. Here is what applies to which app, and how an agency can work through a whole portfolio.

Last reviewed


Shopify's security deadlines for custom appsFrom November 20, 2026, custom apps need an IP allowlist before a new install outside their organization; from December 1, 2026, new custom and merchant-created apps use expiring offline tokens; from January 1, 2027, every install outside the organization needs an allowlist.Nov 20, 2026New outside installs need anallowlistDec 1, 2026New apps: expiring tokens onlyJan 1, 2027Every outside install needsan allowlist
Shopify's security deadlines for custom appsFrom November 20, 2026, custom apps need an IP allowlist before a new install outside their organization; from December 1, 2026, new custom and merchant-created apps use expiring offline tokens; from January 1, 2027, every install outside the organization needs an allowlist.Nov 20, 2026New outside installs need anallowlistDec 1, 2026New apps: expiring tokens onlyJan 1, 2027Every outside install needs anallowlist
The deadlines for custom apps, from Shopify's developer docs
On this page

Which custom apps the rules cover

Shopify's new app security rules started with public apps, and custom apps now have their own timeline. What applies to a custom app depends on who it is installed for. That one question decides whether you have until January 1, 2027, or whether you are already late.

  • Custom apps installed outside your organization. The typical agency or software vendor case: an app your organization owns, installed on a client's store that belongs to a different organization.
  • Custom apps installed only in your organization. An app built and installed only on stores your own organization owns, such as a brand's internal integration.
  • Merchant-created apps. Apps a merchant creates for their own store.
Which rules apply to which custom appCustom apps installed outside your organization need an IP allowlist for new installs now and for all installs from January 1, 2027, and must declare network access for storefront code from December 1, 2026; same-organization and merchant-created apps are recommended to use an allowlist. Apps of both kinds created from December 1, 2026 use expiring offline tokens; existing tokens keep working.Outside your organizationInside it, or merchant-createdIP allowlistRequired, all installs fromJan 1, 2027RecommendedApps created from Dec 1,2026Expiring tokens onlyExpiring tokens onlyApps created before thenExisting tokens keepworkingExisting tokens keepworkingStorefront code hostsDeclared from Dec 1, 2026Not required
Which rules apply to which custom appCustom apps installed outside your organization need an IP allowlist for new installs now and for all installs from January 1, 2027, and must declare network access for storefront code from December 1, 2026; same-organization and merchant-created apps are recommended to use an allowlist. Apps of both kinds created from December 1, 2026 use expiring offline tokens; existing tokens keep working.IP allowlistOutside your organizationRequired, all installs from Jan 1,2027Inside it, or merchant-createdRecommendedApps created from Dec 1, 2026Outside your organizationExpiring tokens onlyInside it, or merchant-createdExpiring tokens onlyApps created before thenOutside your organizationExisting tokens keep workingInside it, or merchant-createdExisting tokens keep workingStorefront code hostsOutside your organizationDeclared from Dec 1, 2026Inside it, or merchant-createdNot required
What applies to each kind of custom app, as of November 22, 2026.

Public apps have stricter rules and earlier dates, which we cover in Shopify's new security rules for public apps. If you own both kinds, read that one too: most of the engineering is the same.

The dates for custom apps

Shopify's security deadlines for custom apps, as published on shopify.dev
DateWhat happensApplies to
November 20, 2026A custom app needs an IP allowlist before it is installed on a store outside your organizationInstalled outside your organization
December 1, 2026Apps created from this date must use expiring offline access tokensAll new apps, custom and merchant-created included
December 1, 2026Apps that put code on the storefront must declare allowed sourcesInstalled outside your organization
January 1, 2027Every app already installed on stores outside your organization needs an IP allowlistInstalled outside your organization

Read the January 1 row twice if you are an agency. From that date the problem isn't limited to the app that missed the rule: Shopify says one app without an allowlist affects your ability to install any app on stores outside your organization. A forgotten app from an old project can hold up next month's launch for a different client.

IP allowlists for custom apps

The allowlist works the same way as it does for public apps. In the Dev Dashboard you list the addresses your servers use to call the GraphQL and REST Admin APIs, and once it is enforced, requests made with the app's tokens from anywhere else fail with a 403. You can list up to 250 IP addresses or CIDR ranges, up to 10 ASNs, and up to 10 countries to narrow the ASNs.

Setting up a Shopify IP allowlistList every outbound address that calls the Admin API, enter the addresses or ASNs in the Dev Dashboard, test them against the last 30 days of traffic, turn on enforcement, then confirm that a request from an unlisted address fails with a 403.01List addressesServers, workers,jobs02Enter themDev Dashboard,Settings03Test 30 daysSee what wouldfail04EnforceTurn it on andsave05VerifyA 403 fromoutside
Setting up a Shopify IP allowlistList every outbound address that calls the Admin API, enter the addresses or ASNs in the Dev Dashboard, test them against the last 30 days of traffic, turn on enforcement, then confirm that a request from an unlisted address fails with a 403.01List addressesServers, workers, jobs02Enter themDev Dashboard, Settings03Test 30 daysSee what would fail04EnforceTurn it on and save05VerifyA 403 from outside

The steps are the same as for a public app: list every outbound address, enter them, test against the last 30 days of traffic, turn on enforcement, and confirm a 403 from an address you didn't list. The test matters more for custom apps, because they are often older, were built by someone who has since left, and call the Admin API from places nobody wrote down.

For apps installed only in your own organization, Shopify doesn't require an allowlist but strongly recommends one. We set one anyway. An integration that holds an ERP's order flow or a brand's customer data is exactly the kind of app whose token you don't want usable from anywhere.

The same limits apply as for public apps. Tokens used by Shopify Flow's Send HTTP request action, and GraphQL Admin API requests from a storefront on Oxygen, can't pass an allowlist, so an app that depends on either needs another route before you enforce. An app that never calls the Admin API with its own tokens can block all such requests instead, which meets the requirement.

Tokens: what changes for new custom apps

Custom and merchant-created apps created before December 1, 2026 keep their non-expiring offline tokens: the public-app token deadlines don't apply to them. Apps created on or after December 1, 2026 must use expiring offline tokens from the start, whoever installs them.

An expiring offline token lasts 1 hour, and the app renews it with a refresh token that lasts 90 days. Every refresh returns a new pair, and the app stores both in one write. The details, including the three ways to move existing installs, are in our guide for public apps.

Apps that only act on stores in your own organization have a simpler option: the client credentials grant. The server authenticates with its client ID and secret and gets a token that lasts 24 hours. To renew it, the server sends the same request again; there is no refresh token to store or rotate.

Our advice for existing custom apps is to plan the move even though Shopify hasn't set a date. The public-app rules show where this is going, and an app that refreshes its own tokens is already ready if the date arrives with short notice.

Network access for storefront code

From December 1, 2026, custom apps installed outside your organization must declare allowed_sources in the network_access section of shopify.app.toml if they put code on the storefront through a theme app extension block or embed, script tags, an app proxy, the write_themes scope, or a web pixel with write_open_pixels. Test with the Network access testing preview on a development store, where a missing host shows up as a report rather than a broken page.

Hosting: give your apps addresses you can list

The allowlist is easy when an app runs on one server with a fixed address. Many custom apps don't. They run on serverless functions, containers that move between hosts, or shared hosting whose outbound address changes without notice. Those apps need a hosting change before they can meet the rule.

Giving a Shopify app addresses you can listFour ways to meet the IP allowlist: fixed server addresses, a NAT gateway with a static address for serverless and container workers, a provider ASN for addresses that change (shared with the provider's other customers), or block all Admin API calls for an extension-only app.Fixed server addressesA few servers with static IPs: list them and enforceA NAT gatewayServerless and container workers leave through one static addressA provider ASNFor changing addresses; shared with the provider's other customersBlock allExtension-only apps refuse every Admin API call
Giving a Shopify app addresses you can listFour ways to meet the IP allowlist: fixed server addresses, a NAT gateway with a static address for serverless and container workers, a provider ASN for addresses that change (shared with the provider's other customers), or block all Admin API calls for an extension-only app.Fixed server addressesA few servers with static IPs: listthem and enforceA NAT gatewayServerless and container workers leavethrough one static addressA provider ASNFor changing addresses; shared withthe provider's other customersBlock allExtension-only apps refuse every AdminAPI call
  • Fixed server addresses. List them and enforce. If the app runs on more than one server, list every one, and check whether any of them sends traffic over IPv6.
  • A NAT gateway. Route serverless and container workers through a gateway with a static address, and list the gateway. On AWS that means a NAT gateway with an Elastic IP in front of the app's functions or tasks.
  • A provider ASN. It covers addresses that change inside one provider's network, but that network is shared with the provider's other customers. Use it only when the other options don't fit, and narrow it to the countries the app runs in.
  • Block all. An app that does its work in extensions and never calls the Admin API from a server can refuse every such request with its tokens.

An inventory plan for agencies and in-house teams

Working through a portfolio of custom appsList every custom app and every store it is installed on, mark installs outside your organization, map each app's outbound addresses, allowlist and enforce the outside installs first, then build new apps on expiring tokens.01List appsEvery app, everystore02Mark outsideinstallsOtherorganizations03Map addressesEach app'sservers04AllowlistOutside installsfirst05New appsExpiring tokens
Working through a portfolio of custom appsList every custom app and every store it is installed on, mark installs outside your organization, map each app's outbound addresses, allowlist and enforce the outside installs first, then build new apps on expiring tokens.01List appsEvery app, every store02Mark outside installsOther organizations03Map addressesEach app's servers04AllowlistOutside installs first05New appsExpiring tokens
  1. List every custom app and every store it is installed on. Include old projects, apps built by former team members and apps a client asked you to keep running.
  2. Mark the installs outside your organization. Those are the ones with a January 1, 2027 deadline and the partner-wide consequence.
  3. Map each app's outbound addresses. Servers, workers, scheduled jobs and outside services that call the Admin API with its tokens.
  4. Allowlist the outside installs first. Test against 30 days of traffic, enforce, verify a 403, then move on to same-organization apps.
  5. Build every new app on expiring tokens. For your own organization's stores, consider the client credentials grant instead.

Retire what nobody uses. An app installed on a store that closed, or on a client's store for an integration they replaced, is a token you no longer need to protect. Uninstalling it is quicker than giving it an allowlist.

One related change for agencies: Shopify now verifies the identity of partner users who send new collaborator requests to merchant stores, through Stripe with a photo ID and a selfie or liveness check. It was optional when Shopify announced it on July 9, 2026, and Shopify said it would become mandatory. Access to stores where a merchant has already granted it doesn't need verification, so the people on your team who send new requests should complete it first.

How we can help

We build and maintain custom apps for clients and run our own apps, including GTM Assistant and Dofeeds, and we are working through these same changes on them. The Shopify App Security Check & Upgrade puts that work into one package: we list your custom apps and their installs, scan each one against Shopify's new rules and its app security check, and do the upgrade, from the allowlist and the hosting behind it to expiring tokens for new apps and network access declarations.

Have custom apps on client stores?The Shopify App Security Check & Upgrade covers the inventory, the scan and the upgrade work in one package. Get in touch for a quote.

Ask about your apps

Frequently asked questions

Does my custom app need an IP allowlist?

If it is installed on a store outside your organization, yes: before any new install since November 20, 2026, and for every existing install from January 1, 2027. If it is installed only in your own organization, it isn't required, but Shopify strongly recommends it.

What happens if one of my custom apps has no allowlist on January 1, 2027?

Shopify says one app without an allowlist affects your ability to install any app on stores outside your organization, so the effect reaches beyond that one app.

Do my existing custom apps have to switch to expiring tokens?

Not under Shopify's current rules. Custom and merchant-created apps created before December 1, 2026 aren't on the public-app token timeline. Apps created on or after that date must use expiring offline tokens.

Our app runs on serverless functions. How do we get an address to list?

Route the functions through a NAT gateway with a static address and list the gateway. A provider ASN is the other option, but it covers a network shared with the provider's other customers.

Is the client credentials grant allowed for apps on client stores?

No. It is for server-side integrations acting on stores in their own organization. Apps installed outside your organization use expiring offline tokens.

Do merchant-created apps need an allowlist?

Shopify's allowlist requirement names custom apps installed outside your organization and public apps. For merchant-created apps, the change that applies is expiring offline tokens for apps created from December 1, 2026.

Sources

WebG AgentAI agent · online 24/7

Your privacy choices

Your cookie and privacy choices, under India's DPDP Act, the EU and UK GDPR, and California privacy law (CCPA/CPRA). Google tags load with storage and ad features switched off and send only cookieless pings until you choose. Nothing else beyond the necessary runs until you turn it on, and you can change or withdraw a choice here at any time, as easily as you gave it.

Read the privacy policy