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

Node.js 'crypto' module error in jsonwebtoken #980

Open
SumonsNote opened this issue Oct 14, 2024 · 2 comments
Open

Node.js 'crypto' module error in jsonwebtoken #980

SumonsNote opened this issue Oct 14, 2024 · 2 comments

Comments

@SumonsNote
Copy link

Recently, I have used jwt in nextjs but the nextjs gives me error below
[Error: The edge runtime does not support Node.js 'crypto' module.

I hope the problem will be solved very soon. Thank you

@gerhardcit
Copy link

Same issue when you use this on cloudflare workers.
switched to https://www.npmjs.com/package/jose takes care of that.

@utsav-flex
Copy link

also i am facing same issue, jsonwebtoken version is: "9.0.2".

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