gnikyt / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
1.24k stars 374 forks source link

App got rejected due to it hasn't implemented authentication through OAuth correctly and can't be reinstalled #614

Closed jithinjoyj4 closed 3 years ago

jithinjoyj4 commented 4 years ago

Expected Behavior

Oauth installation page when reinstalling the app

Current Behavior

When reinstalling the app it directly go to app url skipping oauth page with scope permission and shows this message

"There’s no page at this address Check the URL and try again, or use the search bar to find what you need.".

i think its cookie related, some times when i switch stores to reinstall it works

Failure Information

App got rejected due to this issue

Your app hasn't implemented authentication through OAuth correctly and can't be reinstalled. Review our OAuth documentation and see this screenshot https://screenshot.click/20-11-82695-90787.png for additional details.3

iam new to shopify and laravel any suggestion would be really helpful, Thanks

shooath

jithinjoyj4 commented 3 years ago

Uninstalled Job fixed it

jithinjoyj4 commented 3 years ago

Uninstalled Job is not working now, shop is not getting soft deleted on uninstall which causing the page not found issue when reinstalling, the job was working fine i dont know what happened

gnikyt commented 3 years ago

I have just tested this, nothing not working here. It takes a couple mins for the job to come in.

jmanzo commented 3 years ago

I fixed this issue by just running php artisan migrate:refresh --seed. Seems like my issue was that there was old data stored on my database. I'm working on a development app. 🛑 Don't run this command if you're working over a production app.

mudassirali007 commented 2 years ago

Issue

If you cancel on the installation page it will not show the install page the second time.

Reproduce Steps:

  1. Goto Oauth Page and select Cancel. It will create an entry in the Database in users with the 'remember_token' column as NULL
Capture
  1. Then if you again go to the Oath Page again it will show this message.
Capture2