meteor-shopify
meteor-shopify copied to clipboard
Error: Invalid 'auth'. Needs 'password' or 'secret' or 'access_token'.
Error: Invalid 'auth'. Needs 'password' or 'secret' or 'access_token'. W20220804-17:53:26.680(5.5)? (STDERR) at Object.Shopify.addKeyset (packages/froatsnook_shopify.js:2490:15)
hi have odd app now getting the Error
@froatsnook can you help on that.
Check out the code here. Check what you're passing to the addKeyset
function. If I had to guess I'd say that you're using something from Meteor.settings
which is not in your settings.json
.
@froatsnook I am passing the meteor --settings settings.json
with key and secrete key as per your example i am passing the correct data.
{
"public":{
"api_key":"7996a84xxxxxxxxx",
"root_url":"https://xxxxxxxxx218.ngrok.io"
},
"secret":"741a3bxxxxxxxxxxxxxxxxxx"
}
what was the is the missing ?
https://shopify.dev/apps/tools/embedded-app-sdk/methods this warring app not working
@froatsnook i have public app
// @example
// // For public apps that haven't been authenticated yet
// Shopify.addKeyset("public app", {
// api_key: "Your API Key",
// secret: "Your API Shared Secret"
// });
//