0
votes

I am working on Shopify private app in the Laravel Framework. In my app, I have added a proxy URL. But when I am trying to open my proxy URL then It will redirect to me on my app server URL.

Here's the screenshot my partner account:-

enter image description here

For Example:- Whenever I tried to open proxy URL:- https://test.myshopify.com/a/test

It will redirect to my app server URL:- https://test.devserver.co.in/shopify/test?shop=test.myshopify.com&path_prefix=%2Fa%test&timestamp=1559210902&signature=bed7eb24d4a9278021a12535df9e38749a333a9dd33e7164fb66c113a2a00a0e

Please help me with this. Thanks

1
are you using any package for Shopify authentication?bhavinjr
@bhavinjr No, I have created a custom app installation process as per Shopify OAuth guidelines.Gurpreet Singh

1 Answers

0
votes

You don't actually callback to your proxy URL like https://test.myshopify.com/a/fizzbuzz

Instead you do a POST or a GET to /a/fizzbuzz with some parameters (or not). In other words, it is as if you are doing a POST or GET to something local to the Shopify store itself. There is nothing to identify your actual proxy App.

Perhaps this is your simple problem. Shopify will take your POST or GET, and proxy it for you to the right endpoint in your App, with security.