Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
99d3ea748c
commit
527f99bb6e
@@ -21,9 +21,12 @@ class ShopifyInstallController extends Controller
|
|||||||
|
|
||||||
public function install()
|
public function install()
|
||||||
{
|
{
|
||||||
|
$callback = 'https://sms.spices.blue/shopify/callback';
|
||||||
|
|
||||||
$url = "https://{$this->shop}/admin/oauth/authorize"
|
$url = "https://{$this->shop}/admin/oauth/authorize"
|
||||||
. "?client_id={$this->clientId}"
|
. "?client_id={$this->clientId}"
|
||||||
. "&scope={$this->scopes}"
|
. "&scope={$this->scopes}"
|
||||||
|
. "&redirect_uri=" . urlencode($callback)
|
||||||
. "&state=spicesetup";
|
. "&state=spicesetup";
|
||||||
|
|
||||||
return redirect($url);
|
return redirect($url);
|
||||||
|
|||||||
Reference in New Issue
Block a user