Storefront API in a public App

Solved
Cupel_Apps
Shopify Partner
44 0 2

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.

 

Accepted Solution (1)

Accepted Solutions
vix
Shopify Staff
Shopify Staff
537 103 113

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

View solution in original post

Replies 3 (3)
vix
Shopify Staff
Shopify Staff
537 103 113

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

Cupel_Apps
Shopify Partner
44 0 2

Hi @vix 

Thank you for the detailed explanation.

Cupel_Apps
Shopify Partner
44 0 2

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