Request API acces to the Store object only (no other scopes)

My app needs REST API access to the Store object only, nothing else.

Is there a way to request no scopes or an empty list of scopes? I tried by passing "scopes=" when creating the auth URL but no luck.

Thanks in advance for any help!

Switchboard - get a toll-free number for your store. https://apps.shopify.com/switchboard-1
0 Likes
Kevin_A
Shopify Staff
Shopify Staff
213 27 40

Hey @Oliver14 

To confirm, did you try removing the scope param from the URL entirely? Something like:

https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&redirect_uri={redirect_uri}&state={nonce}

 

Kevin_A | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes

Yeah, tried both "scope=" and removing "scope" entirely, no luck.

In both cases I got:

Oauth error invalid_scope: The access scope is missing
 
Switchboard - get a toll-free number for your store. https://apps.shopify.com/switchboard-1
0 Likes
Kevin_A
Shopify Staff
Shopify Staff
213 27 40

Hey @Oliver14 

Thanks for confirming. It looks like you are going to need to request at least one scope then. I will raise this with my team for future consideration. 

Kevin_A | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes