Open edmaginx opened 2 years ago
For the tutorial for creating the BigCommerce App, there is a function call verifyJWT. However, I cannot find that from the class here
https://developer.bigcommerce.com/docs/ZG9jOjE4MjIyODMy-step-2-connect-your-app-to-big-commerce
I tried to replace verify with verifyJWT on the tutorial that doesn't work. Is that such a function that we can use?
A copy of the code from the tutorial: https://github.com/bigcommerce/sample-app-nodejs/blob/step-3-add-database/lib/auth.ts Screenshot
Has anyone responded to you or looked at this?
Make sure you install the correct npm package. Should be npm install github:bigcommerce/node-bigcommerce
npm install github:bigcommerce/node-bigcommerce
For the tutorial for creating the BigCommerce App, there is a function call verifyJWT. However, I cannot find that from the class here
https://developer.bigcommerce.com/docs/ZG9jOjE4MjIyODMy-step-2-connect-your-app-to-big-commerce
I tried to replace verify with verifyJWT on the tutorial that doesn't work. Is that such a function that we can use?
A copy of the code from the tutorial: https://github.com/bigcommerce/sample-app-nodejs/blob/step-3-add-database/lib/auth.ts Screenshot