Offline session was used for order fulfillment service and worked no problem for ~ 2 months.
Now API calls are 503 forbidden.
Is the token expired?
Have purged inmemory cache and tried to regenerate offline token -- only to find that the yet the exact (forbidden) token is reissued.
Is this an issue for support (i.e issue with the app being cutoff from shopify?) ?
Can this simply be remedied by forcing the issuing of a new offline_session token ? (This appears to be deterministic f(x) so no? )
Expected behavior
Offline session is able to access Shopify Admin API.
Actual behavior
After months of working, existing offline token is now Forbidden.
Regenerating token creates same token and not new.
Steps to reproduce the problem
Basic shopify node app with this added before the first online server.use(createShopifyAuth):
Issue summary
App created with offline/online token auth as per: https://github.com/Shopify/koa-shopify-auth/issues/106
Offline session was used for order fulfillment service and worked no problem for ~ 2 months.
Now API calls are 503 forbidden.
Is the token expired?
Have purged inmemory cache and tried to regenerate offline token -- only to find that the yet the exact (forbidden) token is reissued.
Is this an issue for support (i.e issue with the app being cutoff from shopify?) ? Can this simply be remedied by forcing the issuing of a new offline_session token ? (This appears to be deterministic f(x) so no? )
Expected behavior
Offline session is able to access Shopify Admin API.
Actual behavior
After months of working, existing offline token is now Forbidden. Regenerating token creates same token and not new.
Steps to reproduce the problem
Basic shopify node app with this added before the first online server.use(createShopifyAuth):
`server.use(createShopifyAuth({ accessMode: "offline", prefix: "/install", async afterAuth(ctx) {
}));`
Visit/install/auth?shop= to generate offline token.
Store in memory server side.
Make fetch requests to admin API using offlineSession.