Skip to content
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

Re-authenticate on scope changes not working #482

Closed
bekanur98 opened this issue Oct 27, 2023 · 3 comments
Closed

Re-authenticate on scope changes not working #482

bekanur98 opened this issue Oct 27, 2023 · 3 comments
Labels

Comments

@bekanur98
Copy link

Issue summary

The issue involves the development of an app using Shopify CLI and the Shopify-app-express package. When attempting to update the app's permission scopes, the expected reauthenticate screen does not appear, necessitating an app reinstallation for permission modifications.

Expected behavior

The expected behavior is that when you try to update the permission scopes for the app, you should see a reauthenticate screen when opening the app. This screen would allow you to give consent for the updated permissions without having to uninstall and reinstall the app. The goal is to make the process of updating app permissions smoother and more user-friendly, eliminating the need for unnecessary app reinstalls and ensuring a seamless experience for users.

Actual behavior

The current behavior is that when attempting to update the permission scopes for the app, the expected reauthenticate screen does not appear upon opening the app. Instead, it requires the app to be uninstalled and then reinstalled in order to update the permissions. This results in an inconvenience for users, as they need to go through the process of reinstalling the app just to modify the permissions.

Steps to reproduce the problem

  1. Build and deploy an app with few permission scopes.
  2. Try updating the permissions scopes and then relaunching the app.
  3. It should ask for permission update, instead the app opens and no re-authenticate screen is shown.
    Issue summary
  • @shopify/shopify-app-* package and version: ^2.2.0
  • Node version: 16.16.0
  • Operating system: MacOS
Copy link
Contributor

This issue is stale because it has been open for 90 days with no activity. It will be closed if no further action occurs in 14 days.

@github-actions github-actions bot added the Stale label Dec 27, 2023
Copy link
Contributor

We are closing this issue because it has been inactive for a few months.
This probably means that it is not reproducible or it has been fixed in a newer version.
If it's an enhancement and hasn't been taken on since it was submitted, then it seems other issues have taken priority.

If you still encounter this issue with the latest stable version, please reopen using the issue template. You can also contribute directly by submitting a pull request– see the CONTRIBUTING.md file for guidelines

Thank you!

@geongeorge
Copy link

I got the same error. Reauthentication is not working

[w:remix] [shopify-api/DEBUG] REST client has a redundant API version override to the default 2024-01
10:49:34 │ app        │ [w:remix] [shopify-app/DEBUG] Got an HTTP response error from the API: Received an error response (403 Forbidden) from Shopify:
10:49:34 │ app        │ [w:remix] "[API] This action requires merchant approval for read_orders scope."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants