From f5d012e60ce3dca99a5861a06d41c60cfcae4196 Mon Sep 17 00:00:00 2001 From: Luke Walsh <32519106+Kyon147@users.noreply.github.com> Date: Tue, 9 Jan 2024 05:17:23 -0800 Subject: [PATCH] Fixes the missing host param based on the issue #242 (#246) --- src/Http/Middleware/VerifyShopify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Middleware/VerifyShopify.php b/src/Http/Middleware/VerifyShopify.php index b7d43e60..f0f6e11d 100644 --- a/src/Http/Middleware/VerifyShopify.php +++ b/src/Http/Middleware/VerifyShopify.php @@ -320,7 +320,7 @@ protected function installRedirect(ShopDomainValue $shopDomain): RedirectRespons { return Redirect::route( Util::getShopifyConfig('route_names.authenticate'), - ['shop' => $shopDomain->toNative()] + ['shop' => $shopDomain->toNative(), 'host' => request('host')] ); }