Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 opened this issue Jun 18, 2018 · 2 comments

Comments

@ate090913
Copy link

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"}
@kumar1010sumit
Copy link

I m facing same issue.

@TomJacobsUK
Copy link
Contributor

Check the pull request I've just made #17 it should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants