Re: Did Shopify change the way of authenticating with its API?

Did Shopify change the way of authenticating with its API?

devartemis
Shopify Partner
1 0 2

Hi.

 

I used to create custom apps and then use the API secret in the header of a REST API endpoint, using X-Shopify-Access-Token: shpat _xxxxxxxxxxxxxxxxx, in order to make requests. And this worked fine up until a couple of days ago.

Now when I create an app I still see the API Key and Secret, but the format of the API secret seems to have changed.

It used to have the format 'shpat _xxxxxxxxxxxxx' but the shpat _ prefix is not included in the generated tokens anymore, and the API requests return an "Invalid API key or access token" error.

 
Did the way of authenticating with Shopify change?
Reply 1 (1)

PriceZag
Shopify Partner
6 0 0

Did you ever resolve or understand this issue?

We are having the same problem which I explained here: https://community.shopify.com/c/shopify-apps/public-api-curl-requests-amp-authentication-tokens/td-p...

Development Team at PriceZag competitor monitoring