d
Topic
Posts:
3
5 months ago

App only works on the computer it's installed on..? This post is outdated

My app works fine (oauth and billing api) in development with ngrok, and also fine when deployed to heroku, but only on the computer/browser it is installed on.

  • If I log into my store on another machine and try to access the app I get a 406 error.
  • if I install on machine A with Chrome, then try to use the app on machine A with another browser I get an "invalid_site" error.

If anyone has an answer for this I would really appreciate it, hopefully it's an easy fix.

Thanks!

Don

i
Replies
Posts:
3
5 months ago

Additionally, it seems to break if installed in more than one store at a time - not good!

ngrok logs show '/auth/shopify/callback' returning '302 Found' if installed in one store, '406 Not Acceptable' if installed in more than one.

Posts:
3
5 months ago

This looks to be a bug I introduced when trying to write my recurring_application_charge method. If I take that out, push to heroku, and install in multiple stores it works again.