Action required: migrate to expiring offline access tokens before January 1, 2027

@TerenceShopify Probably a long shot, but would Shopify consider extending the expiring token deadline (without the delisting penalty) for apps that use the optional IP whitelisting feature?

I understand the reason for this push is due to security concerns and I think the IP whitelisting feature actually offers a stronger layer of security than expiring tokens, and this is currently optional.

@TerenceShopify, we received Shopify’s email regarding the token migration, today. It has the following passage:

This makes it sound like the application-only token is just a secondary thing, or simply a recovery mechanism.

But from what I understand from your replies, the application-only token method can be used as the primary and standalone method to obtain access tokens. Is that correct?

In other words, for someone who has not migrated any app, can we simply use the application-only token method to obtain our access tokens going forward? I don’t want to manage refresh tokens if I don’t have to. Hope that makes sense. Thank you :folded_hands:

We got an email stating:

You have 3 tokens to migrate.

We can not really find such tokens, we migrate everything long time ago, is there a place where we can double check which are the shops that should have such tokens?

@TerenceShopify – It is presently impossible to migrate locked shops (and likely other shops in various non-active states). They return a 423 status error to the migration request. The email seems to identify their offline tokens as outstanding regardless. How are we to handle this and remain compliant with the email, and to avoid delisting on Jan 1? It sounds like as long as these tokens aren’t used to make API requests we’re fine?

@TerenceShopify Since early October our app has requested only expiring tokens. It makes zero calls with non-expiring tokens, and the deprecated-token warning has cleared in the Dev Dashboard. Yet our email says we have ~12,600 tokens to migrate. These are dormant installs, and we no longer store those old tokens. Whenever one of those merchants opens our app, it goes through OAuth and gets an expiring token pair, so it migrates naturally.

Will an app only be delisted if it makes a request with a non-expiring offline token from January 1 onward? Or do these unused tokens count against us?

If they do count: would rotating our client secret and then revoking the old one (which, per the docs, kills every token pinned to the old secret) be an acceptable way to retire them all at once? Merchants would simply re-authenticate on their next visit.

Correct, you can use the application-only access method if that is the best way for your app to acquire offline access tokens. It’s also fine to use it in parallel with other token acquisition methods.

No. If your app is not using non-expiring tokens there is no issue. We included those counts in our email because they represent a latent ability to be used in the future. In the scenario you describe (exchange the non-expiring token before making an Admin API request) the app would not receive an alert about non-expiring tokens. However if implemented the other way (exchange the non-expiring token_after_ making an Admin API request) the app would receive an alert.

Thank you @TerenceShopify! Yes, I assume it is the best way for us because it doesn’t require persisting and managing a refresh token. It just seems simpler. That’s why I didn’t understand why someone who has not made the migration yet go for the refresh token method.

I’m just waiting for the application-only access method to be integrated into shopify_app & shopify_api for Ruby.

Hi @TerenceShopify

In the email, there is a note:

And 3 more apps you manage. You can find a full list of your API calls with non-expiring tokens here.

The “here” is a link that shows a 403 Forbidden error. Where can I find the full list? I can’t find the tokens that were not migrated

If you’re seeing a 403 error on that page it likely means that you lack the user permissions to load the apps page. Double check that the user permissions are configured correctly.

I get a 403 as well - it looks like the partner id is incorrect in the url

Hello @TerenceShopify
We made the migration but still got 63 shop left which I can’t identitfy.
Would you be so kind to DM me for my app to list the 63 leftover shop please?
Thank you for your service in advance!

We have had a brand new just reviewed and listed, flagged as using non-expiring tokens. Not sure how to proceed here as there is nowhere to see a list and the dashboard shows no list

Hi @TerenceShopify,

I wanted to share a support conversation I had about this migration, and get your confirmation on a couple of points.

Context

  • On Oct 29 we received the “non-expiring offline tokens in use” email for our public app AI Personalisation & Upsell.
  • Our codebase moved to expiring offline tokens in May. We also ran the direct token exchange migration for the remaining installs about two weeks ago.
  • The Dev Dashboard alert showed Oct 13 as the last usage of a non-expiring token. That alert has since disappeared.

What the Support Advisor told me

  • The email was legitimate. It was based on the total count of unmigrated tokens when the email was generated, not necessarily on live usage inside that window.
  • Last usage on Oct 13 falls before the 14-day window (Oct 15–29). Together with the alert disappearing, this means the migration is complete and the app is in good standing.
  • Once the direct token exchange succeeds, the old non-expiring tokens are permanently invalidated.

My questions

  1. Can we rely on this guidance, specifically that “no alert in the Dev Dashboard” means we’re fully migrated for the January 1 enforcement?
  2. Since the alert has stopped, is it safe to assume no non-expiring offline tokens are being used for our app anymore? Or could a shop still hold a legacy token that just hasn’t been called in the last 14 days?
  3. Is there anything else we should check to be sure?

We’d like to close this out in November rather than wait until the December rush close to the deadline, so a confirmation now would really help.

Thanks!

In addition to this, just yesterday we have received an email from Shopify stating: Merchants can see your security setup. Now merchants are able to see which security measures each installed app has on. Our merchants are seeing this:

We did enforce IP restrictions immediately after we received the mail so that’s done, but they are still seeing the Expiring access tokens security issue.

Further we have rotated our Client Secret of the app yesterday as well. This would revoke the offline tokens created by previous secret.

What to do next? How to make sure this check is enforced and merchants don’t see it as missing?
@TerenceShopify

Should we create a support ticket for this in Shopify? If yes, is this the correct email to raise one: partner-security-reports@shopify.com or is there other?

@TerenceShopify Is there anyway we could know which merchants are still using the old tokens? The dashboard shows the warning and is 1 day stale. I would like to know how it detects old vs new tokens, are API calls with invalid old tokens also counted/detected or just valid token calls?
We have about a million active merchants and almost 3 million inactive merchants, some of them may got stranded and still call API with invalid tokens. Any tools from Shopify which could assist us in identifying the issue would be much appreciated.

Go to the logs page and filter on token type. You can see any REST or GraphQL requests being made with non-expiring tokens.