Closed assaflei closed 1 year ago
Anyone?
same issue
noticed the same.
same
same
Note that this repo is no longer maintained and this issue will not be reviewed. Prefer the official JavaScript API library. If you still want to use Koa, see simple-koa-shopify-auth for a potential community solution.
Issue summary
While testing the package in my app, I came to a situation where I need to change permissions as part of app usage. When installing the app the permissions are set and if a feature is selected, I add additional permissions. When using the cookie based version I was using the createShopifyAuth method with updated scopes option and the app would redirect to authorization screen. In the new version, I arrive to the afterAuth callback immediately without going to the authorization screen
This code part had stopped referring to authorization screen:
Expected behavior
When changing scopes, createShopifyAuth method should cause a redirect to authorization screen.
Actual behavior
What actually happens?
No redirection, callback is reached with no change to the scopes
Any suggestions? Thanks, Assaf