Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Basic HTTP Auth now asking for username & password

Basic HTTP Auth now asking for username & password

CodeAsYouAre
Visitor
1 0 0

Hi All,

I've been connected with a Shopify store using a basic HTTP auth provided directly by the store owner to me (they got the key by going into admin > private app > API key etc)

 

For the last few weeks, I've use the following format:

e.g. https://${api_key}:${password}@${base_url}/admin/api/${version}/${endpoint}

 

As of this morning, I'm now get:
{
    “errors”: “[API] Invalid API key or access token (unrecognized login or wrong password)”
}

 

If I use the example link provided when generating the keys, I'm asked for a username and password.

 

Previously her keys were generated on version 2021-04 if that matters. 

Was anything changed with basic HTTP Auth? Did we hit a cap/limit (and if so, what are the limits, will it cool down)? Or was access revoked and need to regenerate keys (do they automatically expire)?

 

Replies 2 (2)

Jason
Shopify Partner
11207 226 2317

I don't see that response when i do a few calls. Do you still see it? If you do post back with the call you're making and will try and replicate it.

I will assume you're not sending cookies in the request.

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★

samuelvandeven
Shopify Partner
2 0 0

Did you solve this problem?
I currently need to fetch data from the admin api in a liquid file.