shopify-api-js
shopify-api-js copied to clipboard
App Proxy Processing
Is there any way to process app proxy requests?
Tried the following and it is 'undefined' session:
router.get("/proxy_path", async (ctx) => {
let isOnline = false;
const session = await Shopify.Utils.loadCurrentSession(ctx.req, ctx.res, isOnline);
console.log(session);
});