App Proxy route redirects to password page

Paladin
New Member
1 0 0

Hi everyone,

I am developing a public app on a development store. When I try to access the app proxy on this store, it always redirects me to the /password page. I have seen this mentioned on the forums before but never with an answer, so sorry if I have missed something.

I need to access this app from a different app of mine, so I set up an app proxy on my development store, and I have set up my localhost with Ngrok. However, when I try to access the app proxy, whether it is from my other app, the browser, or Postman, I always get redirected to the /password page.

Specifically:
I have a developer store that is password protected by default: https://my-example-shop.myshopify.com
I
 have a Laravel app running on my localhost, tunneled with Ngrok: https://example.ngrok.io. Accessing my app directly with the Ngrok URL works correctly.
I have set up an app proxy with the following:

Subpath prefix: apps
Subpath: proxy
Proxy URL: https://example.ngrok.io

In the development store, the App Proxy URL shows as https://my-example-shop.myshopify.com/apps/proxy

However, when I enter that URL, it receives a 302 status, then redirects to https://my-example-shop.myshopify.com/password
Ngrok does not show any attempts to access my app.

My laravel app is using this package: https://github.com/osiset/laravel-shopify and works correctly inside the store. 

How am I supposed to access my app via the App Proxy if it always redirects to /password?

Reply 1 (1)
usmanwixpa
Shopify Partner
1 0 0

usually this error occurs when you give store url instead of app url.check proxy url