Update, November 23, 2026: On November 19, Shopify extended the requirement to custom apps and apps created by merchants: any created on or after December 1, 2026 must use expiring offline access tokens from the start. Those created before then keep their existing tokens, and the public-app timeline below is unchanged.[7][2] This revision also covers custom apps built for client stores and the security deadlines that come with them.[11]
Update, November 9, 2026: Shopify replaced the enforcement schedule in this article. Its October 27, 2026 notice, updated November 4, says public apps still on non-expiring offline tokens are delisted and blocked from new installs on January 1, 2027, merchants see admin warnings from January 15, 2027, and affected Admin API requests return HTTP 403 from April 1, 2027.[1] The original version, based on the May 20, 2026 notice,[5] said apps would hit authentication errors on January 1. This revision also corrects the refresh-token behavior, adds Shopify's three migration options, and adds client credentials access.[2][3]
If your public Shopify app still uses non-expiring offline access tokens, migrate before January 1, 2027. That date does not switch your app off. It removes the app from the Shopify App Store and blocks new installs, while existing installs keep working. On April 1, 2027, Admin API requests that still present a non-expiring offline token are rejected with HTTP 403. April 1 is the cutoff for remaining requests, not a later deadline.[1][2]
The enforcement timeline
| Date | What happens to a public app still using non-expiring offline tokens |
|---|---|
| April 1, 2026 | Already in effect: public apps created on or after this date must use expiring offline tokens.[6] |
| January 1, 2027 | Delisted from the Shopify App Store and blocked from new installs. Existing installs keep working. |
| January 15, 2027 | Merchants using the app see a warning in the Shopify admin about the risk of service interruption. |
| April 1, 2027 | GraphQL Admin API and REST Admin API requests that present a non-expiring offline token return 403 Forbidden. Merchants lose access to the app until they re-authenticate. |
Sources: Shopify's October 27 changelog notice and migration guide.[1][2]
Who is affected
| Apps | What applies |
|---|---|
| Public apps | The timeline above, for apps that call the GraphQL Admin API or REST Admin API with non-expiring offline access tokens, including apps created before April 1, 2026.[1] |
| Custom apps and merchant-created apps created on or after December 1, 2026 | Expiring offline access tokens from the start, for GraphQL Admin API and REST Admin API requests.[7] |
| Custom apps and merchant-created apps created before December 1, 2026 | They can keep their existing offline tokens. The public-app timeline doesn't apply to them.[2][7] |
| Payments Apps API requests | Not covered by the timeline.[2] |
How expiring offline tokens work
Offline tokens are what an app uses for background work: scheduled syncs, webhook processing and other jobs that run without a merchant in the browser. Shopify's current access token documentation sets these lifetimes:[3]
| Token | Lifetime |
|---|---|
| Expiring offline access token | 1 hour (expires_in is 3600) |
| Refresh token | 90 days when issued (refresh_token_expires_in is 7776000); refreshing can shorten it |
| Non-expiring offline access token | No expiry, until the app is uninstalled or its client secret is revoked |
Shopify recommends reading expires_in from each response instead of hard-coding a duration.[3]
Two rules matter for storage design:
- One current token per app and store. When your app gets a new expiring offline token through token exchange or the authorization code grant, older expiring tokens for that store are retired. A retired access token stays valid until its
expires_inends, so in-flight requests can finish.[3] - Refresh tokens rotate. Every refresh returns a new access token and a new refresh token. The refresh token you presented stays usable until the earliest of: your app uses the newer refresh token, your app acquires a new token, 30 days after it was first used to refresh, or its original 90-day expiry.[3] Always store and use the newest pair.
Do not acquire a new token and refresh an existing one for the same store at the same time. Each retires the other's result, so one of the two tokens is already invalid when it arrives.[3]
Three ways to migrate
Shopify's migration guide offers three options.[2]
Option 1: Migrate gradually
Request expiring tokens in the token requests your app already makes. Each installation moves over the next time your app gets a new token for that store, such as when a merchant opens your embedded app.
Apps built with @shopify/shopify-app-remix or @shopify/shopify-app-react-router set a flag and redeploy:
// shopify.server.tsconst shopify = shopifyApp({// ...future: {expiringOfflineAccessTokens: true,},});
The template stores and refreshes the tokens. Apps that implement token exchange or the authorization code grant themselves add expiring=1 to the token request, then store access_token, refresh_token, expires_in and refresh_token_expires_in.[2]
Stores where no merchant opens or re-authorizes your app keep their non-expiring tokens, so most apps need option 2 or 3 as well.
Option 2: Migrate all installations at once
Exchange each stored non-expiring token for an expiring pair, with no merchant session. This also covers background-only apps such as webhook consumers and Flow actions. Make the option 1 change first.
curl -X POST \https://{shop}.myshopify.com/admin/oauth/access_token \-H 'Content-Type: application/x-www-form-urlencoded' \-d 'grant_type=urn:ietf:params:oauth:grant-type:token-exchange' \-d 'client_id={client_id}' \-d 'client_secret={client_secret}' \-d 'subject_token={non_expiring_offline_token}' \-d 'subject_token_type=urn:shopify:params:oauth:token-type:offline-access-token' \-d 'requested_token_type=urn:shopify:params:oauth:token-type:offline-access-token' \-d 'expiring=1'
The exchange permanently invalidates the old token for Admin API requests, so store the returned pair before you discard anything. If a response is lost, repeating the same request with the original token within seven days returns the same pair, until your app refreshes it or a later token acquisition retires it.[2]
Option 3: Use application-only access tokens
Shopify's new client credentials access lets your backend get a short-lived token for any store that has installed your app, using a client assertion signed with your app's private key. There is no refresh token to store. For a public app each token lasts up to one hour, and your app requests a new one when it expires.[1][3][4]
This option does not invalidate your stored non-expiring tokens. Your app must stop sending them.[2]
Building a custom app for a client from December 1
Any custom app you create for a client from December 1, 2026, such as an ERP or inventory sync, must use expiring tokens from the start. How depends on the token flow:[7]
- Custom distribution, installed by the client: use token exchange for an embedded app or the authorization code grant for a standalone app, with
expiring=1in the token request, then store and rotate the refresh token as described above. Recent Shopify app templates and libraries request expiring tokens by default, so check that yours is current.[7][3] - Client credentials grant: its 24-hour tokens already meet the requirement, but the grant can't reach a store outside your organization, including a client's store, unless the app has public distribution and authenticates with a client assertion, in which case each token lasts up to one hour.[7][10][4]
To confirm a migration is complete, turn on Admin API token expiry in the app's Settings in the Dev Dashboard. GraphQL Admin API and REST Admin API requests then fail on every store where the app is installed if they use a non-expiring offline token, or a delegate access token with more than 24 hours left. The setting can take up to 30 minutes to apply, doesn't migrate or revoke tokens, and can be turned off. Check the app's logs first: the Dev Dashboard highlights possible token-expiry issues from the last 14 days, though detection can lag by a day.[8]
Custom apps that merchants or staff created in the Shopify admin now appear in the merchant's Dev Dashboard too. Their existing tokens keep working, and you can now inspect their API logs and set up an IP allowlist.[9]
Other deadlines for apps on client stores
Custom apps that you install on stores outside your organization face more security deadlines in the same window. Shopify lists the IP allowlist, network access, expiring token and script tag dates, including the public-app ones, in its upcoming security deadlines table.[11]
| Date | Applies to | Requirement |
|---|---|---|
| November 20, 2026 (in effect) | New installs | The app must have an IP allowlist before you install it on a store outside your organization.[13] |
| December 1, 2026 | Apps that run code on the online store | Shopify rejects deploys that don't declare network access in shopify.app.toml.[14] |
| January 1, 2027 | Existing installs | Every app already installed outside your organization needs an IP allowlist. If one of your apps lacks it, you can't install any of your apps on stores outside your organization.[11][13] |
| January 1, 2027 | Apps that run code on the online store | Until every such app already installed outside your organization declares its network access, you can't install any of your apps on another store outside your organization.[11][14] |
| January 1, 2027 | Apps that read abandoned checkout recovery URLs | abandonedCheckoutUrl requires access to all four protected customer fields: name, email, phone and address.[15] |
| March 1, 2027 | All apps | Script tags stop loading JavaScript. See our script tag deadlines article.[11] |
Scope details:
- Exempt from the allowlist and network access rules: apps installed only on stores in your own organization, and apps created by merchants. Shopify still highly recommends an IP allowlist for apps used only in your organization.[12][13][14]
- Running code on the online store means a theme app extension block or app embed, script tags, an app proxy, the
write_themesaccess scope, or a web pixel with thewrite_open_pixelsscope. Declare the servers your app's code loads from or sends requests to asallowed_sourcesin the[network_access]section; if it contacts none, an empty list counts.[14] - Abandoned checkout URLs: January 1 applies to partner custom apps and apps merchants create in the Dev Dashboard, which can enable the four fields themselves without a review. Apps created in the Shopify admin aren't affected. Public apps face the rule from December 1, 2026 and need a data protection review to get access.[15]
Shopify also now requires multi-factor authentication on every partner account.[16]
Why Hydrogen teams should check
A Hydrogen storefront can run without an Admin API token. Weaverse's open-source Pilot theme is one example: its example environment file lists Storefront API and Customer Account API credentials, and no Admin API token.[17] The risk sits in the services around the storefront: subscription tools, inventory or ERP syncs, review importers and webhook processors. A public app among them that still uses a non-expiring offline token is on the timeline above, and a custom app created for the store from December 1, 2026 needs expiring tokens from the start. These background jobs also fail with the least visibility. A sync that starts returning 403 at night can show up days later as wrong inventory.
If your storefront does call the Admin API, check which app's token it uses. Shopify's IP allowlist documentation says an allowlist doesn't work with "Access tokens used to make GraphQL Admin API requests from a storefront hosted on Oxygen", because Shopify can't confirm the source IP address of those requests and rejects them.[12] Public apps and custom apps on client stores now need an allowlist, so move that work into a companion service with expiring tokens and an allowlist of its outbound IP addresses, or of its hosting provider's ASNs limited to the countries it runs in.[12] An app the merchant created isn't subject to the allowlist rule, but one created from December 1, 2026 still needs expiring tokens, so plan for code that renews the token rather than a fixed token in an environment variable.[13][7]
Migration checklist
- Inventory every Admin API integration. For each one, record whether it is a public app, custom app or merchant-created app, when it was created, and whether it uses expiring tokens.
- Prioritize public apps on non-expiring tokens. These carry the January 1 listing and new-install penalty and the April 1 request cutoff.
- Choose a migration option. Use option 1 for new tokens, then option 2 or option 3 for installations that merchants do not reopen.
- Centralize token handling. Put acquisition, storage, refresh and retry in one module, and log refresh failures so someone is alerted.
- Handle the error cases. A rejected non-expiring token returns
403 Forbiddenwith anerrorsvalue containingNon-expiring access tokens are no longer accepted for the Admin API. A missing access scope also returns 403, so match on that phrase before you re-authenticate. An expired, replaced or invalid refresh token returns401 Unauthorizedwith{"error": "invalid_request"}, which means the merchant must reopen your app to get a new token.[2] - Verify nothing is left. In your app's Dev Dashboard Logs, filter Type to GraphQL request and Token type to Offline, non-expiring, then repeat with REST request if you use REST. Any request that appears still uses a non-expiring token.[2] Once the logs are clean, turn on Admin API token expiry so any request you missed fails while you are watching for it.[8]
- Check apps on client stores. For each custom app installed on a store outside your organization, add an IP allowlist and, if it runs code on the online store, a network access declaration before the dates above.[13][14]
Aim to finish before January 1, 2027. Waiting until April keeps existing installs working, but your app is unlisted, cannot gain new installs, and merchants see warnings in the meantime.
The bottom line
January 1, 2027 is the migration deadline for public apps. Missing it costs your App Store listing and new installs, merchants see warnings from January 15, and remaining Admin API requests with non-expiring tokens fail with 403 from April 1. Custom and merchant-created apps aren't on this timeline: those created before December 1, 2026 keep their existing tokens, and those created from that date must use expiring tokens from the start. Shopify now offers three migration paths, including application-only access tokens that remove the need to store refresh tokens. Related changes to app deployment credentials are covered in our article on App Automation Tokens.
If your team needs help with token migration for public apps or Hydrogen companion services, contact the Weaverse team.
Sources
- Shopify developer changelog: Migrate to expiring offline access tokens before January 1, 2027 (October 27, 2026, updated November 4, 2026)
- Shopify docs: Migrate to expiring offline access tokens
- Shopify docs: Access tokens
- Shopify docs: Get application-only access tokens for installed stores
- Shopify developer changelog: Expiring offline access tokens required for all public apps as of January 1, 2027 (May 20, 2026, superseded schedule)
- Shopify developer changelog: Expiring offline access tokens required for public apps (April 1, 2026)
- Shopify developer changelog: Expiring offline access tokens required for new custom apps as of December 1, 2026 (November 19, 2026)
- Shopify developer changelog: Declare that your app uses only expiring Admin API tokens (November 16, 2026)
- Shopify developer changelog: Admin-created custom apps now appear in the Dev Dashboard (November 17, 2026)
- Shopify docs: Authenticate an app for stores in your organization
- Shopify docs: About app security, upcoming security deadlines
- Shopify docs: Restrict API access with an IP allowlist
- Shopify developer changelog: IP allowlists are now required for custom apps installed outside your organization (November 11, 2026)
- Shopify developer changelog: Network access declarations are now required for apps that run on the online store (November 19, 2026)
- Shopify developer changelog: abandonedCheckoutUrl now requires level 2 protected customer data access (November 19, 2026)
- Shopify developer blog: App security updates: IP allowlist due tomorrow (November 19, 2026)
- Weaverse Pilot: example environment file (commit 38c3fb4)



