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.
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
| Date | What happens | Applies to |
|---|---|---|
| November 20, 2026 | A custom app needs an IP allowlist before it is installed on a store outside your organization | Installed outside your organization |
| December 1, 2026 | Apps created from this date must use expiring offline access tokens | All new apps, custom and merchant-created included |
| December 1, 2026 | Apps that put code on the storefront must declare allowed sources | Installed outside your organization |
| January 1, 2027 | Every app already installed on stores outside your organization needs an IP allowlist | Installed 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.
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.
- 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
- 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.
- Mark the installs outside your organization. Those are the ones with a January 1, 2027 deadline and the partner-wide consequence.
- Map each app's outbound addresses. Servers, workers, scheduled jobs and outside services that call the Admin API with its tokens.
- Allowlist the outside installs first. Test against 30 days of traffic, enforce, verify a 403, then move on to same-organization apps.
- 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 appsFrequently 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
- Shopify, IP allowlist, Dev Dashboard documentation, checked November 22, 2026
- Shopify, Offline access tokens, authentication documentation, checked November 22, 2026
- Shopify, App security updates, October 2026, developer changelog
- Shopify, Declare network access, storefront security documentation, checked November 22, 2026
- Shopify, Identity verification for partners, developer changelog, July 9, 2026