Shopify Koa Auth question

Highlighted
Excursionist
52 3 8

Taken from the npm docs example:

 

https://www.npmjs.com/package/@shopify/koa-shopify-auth

const {SHOPIFY_API_KEY, SHOPIFY_SECRET} = process.env;

I get how to insert this key locally in my .env file. I don't understand how this scales on a public app.

 

How exactly do the API keys and secrets (of other store owners using my app) populate when connecting to a koa.js server that uses this library?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 139 163

Hey @seandz,

 

I believe OAuth is what you're after, here's a guide.

0 Likes
Highlighted
New Member
3 0 0
SHOPIFY_API_KEY, SHOPIFY_SECRET

They are the keys to connect your app with shopify and not the customers with your app.

 

0 Likes