koa-shopify-auth icon indicating copy to clipboard operation
koa-shopify-auth copied to clipboard

Re-auth app access if scopes changed

Open ranjitatwal30 opened this issue 5 years ago • 5 comments

Overview

I'm using this package for my app, but as part of authentication it does not re-auth permissions if any app scope updated. Please provide this feature as it is very important.

Type

  • [x] New feature

ranjitatwal30 avatar Jul 19 '19 14:07 ranjitatwal30

Any update on this ? Very much needed...

thibautvdu avatar Nov 03 '19 15:11 thibautvdu

Same here

Tzelon avatar Nov 15 '19 13:11 Tzelon

Does anybody have a workaround currently for this? how can I force a user to go back through the scope authentication screen? Tried sending them here: https://app.ngrok.io/auth?shop=shopname.myshopify.com. But no luck

benjitastic avatar Jun 25 '20 04:06 benjitastic

Nevermind, this does work. If you include more scopes and then send the user to https://app.ngrok.io/auth?shop=shopname.myshopify.com they will see the screen asking for more scopes. And instead of "Install app" the button says "Update app"

benjitastic avatar Jun 25 '20 04:06 benjitastic

Hi @benjitastic Where do you place the redirect link? Can you please give the snip of the code? Thank you in advance

aldoalprak avatar Jul 17 '21 15:07 aldoalprak

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.

github-actions[bot] avatar Jan 30 '23 20:01 github-actions[bot]