Multistore app Installation

Multistore app Installation

saurav2211
Shopify Partner
3 0 0

I have made a shopify app by using reactjs-nodejs shopify app template and install app on the store of partner account with key 60180045ab8144691e160******** which is hardcoded on env file and it is deploy on digital ocean, now I have install app on the store of different partner account, with api key 3b5cdc219abd41355824a******, How can I set SHOPIFY_API_KEY dynamically for the store on which app gets installed, because  appBridgeProvider used api-key for authenticate the app 

Error : -  APP::ERROR::INVALID_CONFIG: Provided apiKey 3b5cdc219abd41355824ad******* is incorrect. Expecting 60180045ab8144691e1609a********

Replies 0 (0)