Skip to content

Client error: POST https://micha-3.myshopify.com//admin/oauth/access_token resulted in a 400 Bad Request response: {"error":"invalid_request"} #15

Open
@ate090913

Description

@ate090913

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"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions