-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All embedded apps submitted for app review required to adopt session tokens #4
Comments
It'll be a issue, they are deprecating the old cookie session method. Most of the changement will be done in this repo: https://github.com/bluebeel/nextjs-shopify-auth |
That's great to hear! I'm unsure if I'll have time to look into it before you. I will notify you if I do however! |
Hi guys, are you currently working on it? I may also help if needed :) |
Also available to help on as well. I am reading through https://shopify.dev/tutorials/authenticate-your-app-using-session-tokens and also https://shopify.dev/tutorials/get-session-tokens-using-app-bridge-utilities |
Hello, As a first track I was thinking of starting again from the example offered by Shopify with Koa and "reverse engineer" the lib like the first time. After the question would be to know if we are still obliged to use SSR app or with the new mode of authentication, we could move towards full static app. BTW there is an open discussion for an official example for nextjs with the new token Shopify/shopify-app-bridge#13 Otherwise @ctrlaltdylan did a great job creating a boilerplate example. You can start from this one. |
Thanks for the reply! I gave it a go - it' been quite frustrating - especially as using ngrok takes 5 minute to see a change 😅 I took some inspiration from both this and the boilerplate above - the issue with that is that it's a basic implementation (for example, the nonce is not checked), but it's definitely a start |
You can make a pr so we can see your work and maybe help you? |
Thanks for the mention @bluebeel, right it's just a basic prototype. But nonce checking & tests are upcoming. I've been using the package in some form since October on a few production apps. Others as well. In a perfect world, Shopify would release another version of their official tutorial & auth repos for Next without Koa.js. I've been talking with them on and off about making that switch. It's possible they might do something in the coming months, but not optimistic it will be anytime soon. |
Is this still an issue? Looking at this boilerplate as a starting point. Thanks! |
Would also love to know if this has been resolved |
This notification showed up in the Shopify Partner Dashboard a couple of days back. I love this project and I'm already building my next app using it as boilerplate but wonder if this new policy will be an issue? As far as I can see cookies are being used in at least one place.
The text was updated successfully, but these errors were encountered: