Search code examples
shopifykoashopify-appshopify-apishopify-api-node

Can not get Shopify online access token


I am using @shopify/koa-shopify-auth and need to implement online access mode authorization flow, I set accessMode to online but still get offline access token which does not contain associated_user data described in Shopify docs

screenshot

Please, correct me If I am doing something wrong.


Solution

  • After some debugging I found out that the problem was in @shopify/koa-shopify-auth. it just did not put the data to session. This is the pull request for the fix.