[Noob] authentication for Shopify’s own GraphiQL app

WilfredRose
New Member
2 0 0

Helping a client get some data from their Shopify shop, it looks like the AdminAPI is the best route.

https://shopify.dev/api/admin/getting-started#graphql-admin-api says:

We recommend installing Shopify’s own GraphiQL app to explore your shop’s data

OK. Sounds good. Client has given me an account on their store, but I'm not able to install the app (not the Store Owner). So asked the client to do so, explained which scopes to request (just the two default read scopes, and not the Storefront API at all), and they've done that.

To use it I need

the access token you generated in the Authentication section.

which says

The GraphQL Admin and REST Admin APIs require a Shopify access token (for public apps and custom apps) or an API password (for private apps) for making authenticated requests.

...

You can obtain an access token either by following the OAuth authorization process or by creating a private app and using that app's API password.

It seems that to get an access token, I need to create a new private app. But I thought that installing Shopify's own GraphQL app would be the neater alternative. Do I still need to create a new private app (which means going back to the client as Store Owner and asking them to go through this process)?

Alternatively is there any way to go through the OAuth process using Shopify's GraphQL app?

I feel like I'm missing something pretty basic, and the documentation is taking me in circles.

Any direction gratefully received!

 

 

0 Likes