Storefront API in a public App

Solved
Cupel_Apps
Shopify Partner
43 0 1

Hi All,

Is it true that using storefront api in public app is prohibited? I find no way to generate storefront access token using normal OAuth process.

 

0 Likes
vix
Shopify Staff
Shopify Staff
535 105 107

This is an accepted solution.

Hi @Cupel_Apps 

 

No, this is not true. The app does need to be a sales channel, as described in the authentication process of the docs: https://shopify.dev/docs/storefront-api/getting-started#storefront-api-authentication

 
 

Vix | 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
Cupel_Apps
Shopify Partner
43 0 1

Hi @vix 

Thank you for the detailed explanation.

0 Likes
Cupel_Apps
Shopify Partner
43 0 1

Hi @vix 

Thank you for the detailed explanation. But what if we want harness the power of storefront API in a public app which is not a sales channel?

 

Regards

Muthu

0 Likes