You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a private app. I include this at the .env file
SHOPIFY_KEY = "your key"
SHOPIFY_SECRET= "your secret "
SHOPIFY_REDIRECT = " your redirect"
this is my code in my controller:
foo = Shopify::make($this->shop, $this->scopes);
return $this->foo->redirect();
}
public function getResponse(Request $request)
{
$this->getPermission();
$user = $this->foo->auth()->getUser();
return $this->foo->auth()->get('products.json', ['fields'=>'id,images,title']);
}
}
When I navigate my sample/oauth/authorize
error occur
Client error: `POST https://sample-3.myshopify.com//admin/oauth/access_token` resulted in a `400 Bad Request` response:
{"error":"invalid_request"}
The text was updated successfully, but these errors were encountered:
I have a private app. I include this at the .env file
SHOPIFY_KEY = "your key"
SHOPIFY_SECRET= "your secret "
SHOPIFY_REDIRECT = " your redirect"
this is my code in my controller:
foo = Shopify::make($this->shop, $this->scopes); return $this->foo->redirect(); } public function getResponse(Request $request) { $this->getPermission(); $user = $this->foo->auth()->getUser(); return $this->foo->auth()->get('products.json', ['fields'=>'id,images,title']); } } When I navigate my sample/oauth/authorize error occur Client error: `POST https://sample-3.myshopify.com//admin/oauth/access_token` resulted in a `400 Bad Request` response: {"error":"invalid_request"}The text was updated successfully, but these errors were encountered: