hi,
i was wondering how the shopify api worked because I was considering to use shopify services. I found this :
https://www.shopify.com/partners/blog/17056443-how-to-generate-a-shopify-api-token
everything was clear but then i saw while visiting someone else’s website using shopify :
ABCD.com (ABCD.com is not the real website)
that you could add : /shop.json to the url and find (for everyone) a lot of info on the website
ABCD.com/shop.json
like the
[1] host_name.myshopify.com
[2] <meta name="shopify-checkout-api-token" **content="XXXXXXXXXXXXXXXXXXXX"**>
with these 2 according to https://www.shopify.com/partners/blog/17056443-how-to-generate-a-shopify-api-token Step 4 :“the $token variable. Remember, this is like a password into this shop, so you’ll want to store this token in a very safe place.”
according to step 5 with [1] and [2] anyone should supposedly be able to call the API and do malicious things.
What I am missing ?
please tell me there’s one obvious thing that makes the site safe ?
Louis