Kyon147 / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
372 stars 110 forks source link

Facing issue when redirecting back on the app route from the different server #100

Closed asada-chetu closed 1 year ago

asada-chetu commented 1 year ago

Discussed in https://github.com/Kyon147/laravel-shopify/discussions/99

Originally posted by **asada-chetu** February 22, 2023 Facing issues when redirecting back on the app route from a different server. we are opening a third-party page in the embedded app iframe after completing the process. we want to redirect back to the specific route with the host but show the blank page in the embedded app iframe. Please guide me what's the issue. ![image](https://user-images.githubusercontent.com/102379477/220431891-8e621e3d-9af0-43ac-b82f-c2e895326689.png)
Kyon147 commented 1 year ago

Not an package issue so closing as you also have a dissuasion open which is more appropriate.

asada-chetu commented 1 year ago

Hi @Kyon147 Actually, we are facing an issue in the app bridge, when we redirect back from the other server. We are getting some random string in the host. And same method is when we have turned back the same server but a different domain and then get the store URL in the host.

image image image

So, how can we redirect back to the same iframe from a different server?