Kyon147 / laravel-shopify

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

I don't have any login route. #204

Closed tamim-ikbal closed 10 months ago

tamim-ikbal commented 10 months ago

image

When I enter my website root URL in browser its redirect me into this "/authenticate" page and show me the error "No authenticated user or shop domain"

BTW, I have hosted it into cloudways and got same issue.

And, when first time I installed the app in any store its fine , but when I uninstall the app from store and install it then got 404 error.

rvibit commented 10 months ago

Your appuninstalled webhook is not firing, that's why when app is uninstalled the deleted_at column is not filled with current timestamp and that's the reason you are unable to install the app on same store again

tamim-ikbal commented 10 months ago

@rvibit Thanks for the reply sir, how can I fire the uninstall than? And Why In my application there doesn't have login route, as your documents tell us? login route will be provided. Thanks Again

rvibit commented 10 months ago

@rvibit Thanks for the reply sir, how can I fire the uninstall than? And Why In my application there doesn't have login route, as your documents tell us? login route will be provided. Thanks Again

check uninstall JOB section in this doc and Authentication Process section as well https://github.com/Kyon147/laravel-shopify/wiki

tamim-ikbal commented 10 months ago

@rvibit Thanks again sir, What about the login route? image

rvibit commented 10 months ago

@rvibit Thanks again sir, What about the login route? image

Why you need a Login route can you explain the use case ? The Authentication Process doc explains how the authentication works in this package.

tamim-ikbal commented 10 months ago

If someone try to hit my application in the browser they get the error. But I saw your previous version had a login route when someone enters the site URL outside Shopify they redirect to login and ask for the Shopify store URL for the login process.

rvibit commented 10 months ago

If someone try to hit my application in the browser they get the error. But I saw your previous version had a login route when someone enters the site URL outside Shopify they redirect to login and ask for the Shopify store URL for the login process.

https://github.com/gnikyt/laravel-shopify/issues/1208 check this

Kyon147 commented 10 months ago

@bmtamim /login as a route was taken out a while back even on the original package. That is why you no longer see it, you can bring it back yourself fairly easily but it might be against the new TOS for Shopify as I vaguely remember that was why it was removed way back.