Connect admin to his shop without setting the shop

Connect admin to his shop without setting the shop

LinkyFlow
Shopify Partner
1 0 0

Hello everyone,

 

I'm developping a standalone excel addin from excel.

First step is to allow user to connect to his Shopify Admin shop.

I'm using https://github.com/Shopify/shopify-app-js/tree/main/packages/apps/shopify-api#readme for the oauth flow, which works wonderfully.

 

However, it requires shop name to begin the oauth process.

During my shopify app's review, I got rejected because the shop should not be manually inputed....

 

Any idea what I can do? 

Ideally I would like to 

1) Log in user

2) Get his shop

3) Oauth with the shop

4) Query data

 

But the workflow is more like 

1) Log in on the shop, by providing the shop name

2) Query data with retrieved token

 

It's an excel addin, so even if it works with some kind of browser capabilities, it's not possible to redirect the user from shopify to my excel addin.

 

Thanks a lot for any input or direction you can give me!

 

Replies 0 (0)