gnikyt / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
1.24k stars 374 forks source link

Redirection issue, 404 after install using version 17.1, version 16.0.5 works fine #1161

Closed jithinjoyj4 closed 2 years ago

jithinjoyj4 commented 2 years ago

For bug reporting only! If you're posting a feature request or discussion, please ignore.

Expected Behavior

After install authenticate successfully & show welcome message in view, works fine in version 16 apps, getting 404 in version17

Current Behavior

Followed all the installation procedures, package version 17.1 installed on fresh laravel 8, project is inside a subfolder in public_html, after install showing 404, I think its redirecting to server root instead the subfolder, app url and redirection url in app setup is correct, everything works with version 16 in same situation

Failure Information

Getting 404 after install when using version 17, console error shows it redirecting to server root instead the subfolder, screenshots are provided

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Install laravel 8
  2. install package by following wiki
  3. put the project folder inside a subfolder in public_html, install in a development store

any help would be appreciated, thanks

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs

image_2022_06_28T11_54_23_721Z

image_2022_06_28T11_56_23_954Z

mhmdbdwy commented 2 years ago

same here

tsujihidetaka commented 2 years ago

same with Nginx. so I have changed to Apache then it is solved. I guess you need to do

For Nginx, and Laravel Forge, you must specifically comment-out or remove the line below from the Nginx configuration: add_header X-Frame-Options "SAMEORIGIN";

https://github.com/osiset/laravel-shopify/wiki/Installation#appbridge

Kyon147 commented 2 years ago

Closing as a solution has been provided.