getconversio / node-bigcommerce

A node module for authentication and use with the BigCommerce API
MIT License
93 stars 53 forks source link

Do we have verifyJWT method for BigCommerce class? #90

Open edmaginx opened 2 years ago

edmaginx commented 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

main_full (8)
mitchelladams commented 2 months ago

Has anyone responded to you or looked at this?

evanrooijen commented 2 weeks ago

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