Closed osamashamim7 closed 3 years ago
Try AuthToken
middleware with a JWT instead.
You have http. Shopify requires https.
You can add the following script to the layout, for example
<script>
if (window.location.protocol != "https:") {
window.location.protocol = "https";
}
</script>
Hi,
I added this script in the welcome blade but no success.
Thank You
On Mon, Mar 29, 2021 at 11:42 PM Vitaly @.***> wrote:
You have http. Shopify requires https.
You can add the following script to the layout, for example
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/osiset/laravel-shopify/issues/753#issuecomment-809661130, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTGJJS6RJYPOXURGL3DAXDTGDJ2VANCNFSM4Z7PIDGQ .
Try to enter your URL with parameter ?shop=[your-app-name].myshopify.com
I think that's what the middleware is looking for
Try if($this->app) { \URL::forceScheme('https'); } in you AppServiceProvider boot method
It has nothing to do with the https. The documentation is outdated and actually there is no login page. As @brucelee90 said, you need a ?shop=[your-shop-name].myshopify.com
parameter in url.
Cleanup... Closing for now, cookies are removed in v17.0.0 Re-open if still and issue. Thanks!
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
After virtual hosting running it for the first time it shows missingdomaineceptionerror
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Package Version: v16.0
Laravel Version: v8.12
PHP Version: v7.3
using composer
Failure Logs
Please include any relevant log snippets or files here.