Shopify offline tokens: prepare for the January deadline
Public apps must migrate by 1 January 2027. What merchants should ask vendors, and how developers can recover a migration response that was lost.
16 November: test token-expiry enforcement before April
Shopify’s new optional Dev Dashboard setting lets an app opt into Admin API token-expiry enforcement early. It applies to every store where that app is installed, not a selected test installation.
Once enabled, GraphQL and REST requests fail if they use a non-expiring offline token or a delegate token with more than 24 hours remaining. Enforcement can take up to 30 minutes. The switch neither migrates nor revokes existing tokens; turning it off again does not move the 1 April 2027 public-app enforcement date.
Complete the migration first, inspect GraphQL and REST logs including background jobs, then test the setting and watch for rejected requests. Custom and merchant-created apps can use the setting even though the cited April deadline does not apply to them. Existing public-app migration milestones remain in force.
The dashboard flags possible issues from the previous 14 days, and Shopify says detection can lag by a day. In a 16 November post, developer Patrick Jakubik reported a warning despite his own logs showing no non-expiring requests after migration. That is an individual report, not a confirmed platform-wide fault or proof that the documented delay explains his case.
Patrick Jakubik’s token-warning report — 16 November 2026
9 November: choose a migration path for every installation
Shopify’s current migration guide explicitly includes both GraphQL and REST Admin API requests. It retains the January 2027 delisting and warning stages, followed by request rejection on 1 April.
The guide now presents three routes: request expiring tokens as installations next authenticate; exchange stored tokens without a user session; or use application-only access tokens. The third route uses a signed client assertion and client credentials. Its tokens last up to one hour and have no refresh token, so the app requests another when needed.
Gradual migration alone leaves inactive installations using their old credentials. For the first two routes, Shopify says to change future token requests before exchanging the stored inventory. Its scope excludes custom apps, merchant-created apps and Payments Apps API requests.
Our recommendation is to record which path covers each background worker and inactive installation. The earlier GraphQL-specific wording below reflects the previous documentation; use this broader current scope when planning.
1 November update: closed stores can still be migrated
In a 30 October clarification, Shopify’s Terence Tirella said developers can exchange non-expiring offline tokens for closed, frozen and paused stores. Admin API requests still fail while a store is closed; the replacement token can be used when it reopens. If the exchange fails, he asks developers to provide Shopify with the request IDs for investigation.
His related guidance is to exchange any stored non-expiring token before using it for Admin API requests once the app has migrated. A separate reply points to the documented migration flow that needs no merchant interaction. Our practical takeaway: include inactive installations in the token inventory rather than waiting for their owners to reopen the app.
28 October update: enforcement happens in stages
Shopify’s 27 October security announcement keeps 1 January 2027 as the migration deadline. Apps that miss it are delisted and blocked from new installations on that date, while existing installations continue working. Merchants see an admin warning from 15 January. Admin API requests using non-expiring offline tokens return HTTP 403 from 1 April 2027.
Shopify says the later stages give merchants time to prepare, rather than extending the migration deadline. Teams should finish the migration by January and use the staged dates to plan communication and contingency arrangements.
Shopify public-app teams have until 1 January 2027 to move to expiring offline access tokens. For merchants, the useful question is whether the apps handling background work have completed that migration and tested renewal. There is no store setting that implements it on an app developer’s behalf.
The deadline was announced on 20 May; it is not a new October requirement. It includes older public apps. Custom apps and merchant-created apps in the Dev Dashboard or Shopify admin are excluded from this mandate, and merchants do not need to reinstall public apps for developers to migrate them.
Move the background jobs, too
Shopify’s current migration guide specifies enforcement on the GraphQL Admin API. Developers should inventory stored non-expiring offline tokens, including those used by jobs that run without a merchant opening the app.
Existing Remix and React Router app templates support the expiringOfflineAccessTokens future flag. Direct token-exchange and authorization-code implementations request expiry with expiring=1. Save the access token, refresh token and both expiry values; subsequent refreshes must also save the replacement refresh token.
A background migration can exchange an eligible stored non-expiring token using the app’s client credentials without a current user session. Once exchanged, that original token no longer authorizes GraphQL Admin API calls. Updating only the interactive login path leaves background workers exposed.
A lost response has a recovery window
Shopify’s 29 September update addresses a specific failure: the exchange succeeds, but the app loses the response before saving its new credentials.
An eligible retry using the same original token and valid client credentials can recover the same access-token and refresh-token pair for up to seven days. Recovery can extend access-token expiry when needed; it does not extend refresh-token expiry. The window ends sooner after a successful refresh or a later token acquisition retires the pair.
Save the recovered pair and expiry values together, then discard the old token. An invalid_subject_token response means recovery is unavailable: obtain credentials through a fresh ID-token exchange or authorization-code grant. The recovery window does not restore the old token’s GraphQL access.
Ask for evidence before the holiday rush
Our recommendation is to schedule a migration rehearsal before peak trading. App teams should demonstrate that an unattended job still works after access-token renewal, that refreshed credentials survive a worker restart, and that a lost exchange response follows the documented recovery path.
Merchants can ask vendors for the migration’s completion date and the background workflows covered by testing. Keep the answer with the app’s operational contact. A January deadline is a reason to plan maintenance now, not evidence that an installed app is already failing.
Check your PHP package before planning the migration
Update, 24 October: Packagist marks shopify/shopify-api as abandoned and recommends shopify/shopify-app-php. The old GitHub repository was archived on 6 October.
Shopify’s replacement library has a different API. Its documentation describes gradual adoption, one route at a time. Treat this as a migration to review and test, rather than assuming a package-name change alone completes the expiring-token work.
Our recommendation for PHP app teams is to identify the library currently deployed, compare the replacement’s authentication flow with Shopify’s token migration guide, and test unattended jobs and renewal before switching production traffic. This library change is separate from patching the PHP runtime; neither task substitutes for the other.
13 November: Python packages need a separate maintenance review
Shopify’s 26 August announcement covers Python as well as PHP. It says the older libraries continue to work but will receive neither new features nor security fixes. It does not set a forced package-migration or removal date. That is separate from the public-app token deadline described above.
The replacement Python repository is Shopify’s shopify-app-python, while its distribution on PyPI is named shopifyapp. PyPI lists version 1.1.0, released on 6 November. The README describes a different API and gradual adoption, one route at a time; this is not simply a rename of the old dependency.
Our recommendation is to track library maintenance and token compliance as two separate checks. Identify which package each worker uses, review the replacement’s upgrade notes, and test request verification, credential persistence and renewal in a development environment. Installing a replacement library alone does not establish that every stored installation token has been migrated.
16 November follow-up: include stores that become active again
In a 9 November account, Judge.me founder PJ Celis said his team had rotated tokens for active stores but later encountered API calls for stores previously marked inactive. Include that reactivation path in the migration inventory rather than checking only stores active on the day of the batch.
Celis also reported a weekend install decline of more than 10% and said his team assumed it was related to the remaining security warning. That is an attributed observation and hypothesis, not a demonstrated causal effect or a platform-wide install penalty. The actionable point is the uncovered token path, which can be tested independently of the commercial claim.
More from News
See all →