Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do we have verifyJWT method for BigCommerce class? #90

Open
edmaginx opened this issue May 21, 2022 · 2 comments
Open

Do we have verifyJWT method for BigCommerce class? #90

edmaginx opened this issue May 21, 2022 · 2 comments

Comments

@edmaginx
Copy link

edmaginx commented May 21, 2022

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
Copy link

Has anyone responded to you or looked at this?

@evanrooijen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants