reda
reda
Can you console.log the session
In `pages/api/auth/[...shopify].js#5`, pass `'online'` instead of `'offline'` ``` accessMode: 'offline', //offline vs online ```
Felt the same thing, what an awful experience with the shopify generated code. Give this a try: https://github.com/redochka/nextjs-shopify-app-no-custom-server
ok, however, can I still use the library to add the handler? ``` Shopify.Webhooks.Registry.addHandler("customers/data_request", { webhookHandler: gdprHandler, }) ``` Will the library work fine when the gdpr webhook is received?
@ClairCc I stopped using the shopify-cli generated app. Just published a working example using nextjs. If you know nextjs you can do whatever you want. https://github.com/redochka/nextjs-shopify-app-no-custom-server Give it a try
@TheSecurityDev When using simple-koa-shopify-auth the session is not created, as if my `CustomSessionStorage` is never called. It was working fine before switching to `simple-koa-shopify-auth` ``` Shopify.Context.initialize({ API_KEY : process.env.SHOPIFY_API_KEY, API_SECRET_KEY...
@rahilwazir my `loadCallback` is not called. So the code that you suggested will not get a chance to run
@TheSecurityDev yes latest version of the library is used ``` "simple-koa-shopify-auth": "^1.0.4", "@shopify/shopify-api": "^2.0.0", ``` I opened an issue Thanks
Still the same problem ProFTPD 1.3.6rc2 Server (ProFTPD)