I am having a weird issue that doesn't seem to be happening when the app is hosted locally thru the ngrok tunnel. I've deployed my app as per instructions to Heroku. When trying to visit the app, the user is being put into an infinite redirect loop as per the following image:
So it appears the code from the app is "working properly" but I am not sure why everyone isn't getting infinite redirects. If I copy and paste the address in the redirect URL parameter, and visit that outside the context of the app, it brings me to my App's page and things appear to work. Would appreciate any insight!
Hey there,
I am having a weird issue that doesn't seem to be happening when the app is hosted locally thru the ngrok tunnel. I've deployed my app as per instructions to Heroku. When trying to visit the app, the user is being put into an infinite redirect loop as per the following image:
The redirect URL is trying to send the user to this page: https://myapp.herokuapp.com/api/auth/callback?shop=mystore.myshopify.com&host=Z2FtZXJnYWRnZXRyeS5teXNob3BpZnkuY29tL2FkbWlu
This endpoint's code is this:
Which then redirects the user to this:
So it appears the code from the app is "working properly" but I am not sure why everyone isn't getting infinite redirects. If I copy and paste the address in the redirect URL parameter, and visit that outside the context of the app, it brings me to my App's page and things appear to work. Would appreciate any insight!