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

Oliver14
New Member
6 0 0

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
Replies 5 (5)
Kevin_A
Shopify Staff
Shopify Staff
318 42 61

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 | Solutions Engineer @ 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

Oliver14
New Member
6 0 0

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
Kevin_A
Shopify Staff
Shopify Staff
318 42 61

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 | Solutions Engineer @ 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

RobTheDeveloper
Shopify Partner
4 0 2

@Kevin_A  - I'm facing the same issue.

ssmellow
Shopify Partner
4 0 0

Have you managed to solved this issue?