node-bigcommerce icon indicating copy to clipboard operation
node-bigcommerce copied to clipboard

Do we have verifyJWT method for BigCommerce class?

Open edmaginx opened this issue 3 years ago • 2 comments

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

main_full (8)

edmaginx avatar May 21 '22 17:05 edmaginx

Has anyone responded to you or looked at this?

mitchelladams avatar Aug 20 '24 15:08 mitchelladams

Make sure you install the correct npm package. Should be npm install github:bigcommerce/node-bigcommerce

evanrooijen avatar Oct 21 '24 20:10 evanrooijen