Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support for Vercel Edge Runtime

Open
#864 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, nextjs

Research direction

Start by reviewing how Next.js Middleware runs in the Vercel Edge Runtime and compare its restrictions with this library's JWT verification needs. The issue names no repository files or tests; done would mean either whole-library compatibility or a lighter verification function that works in the Edge Runtime, with Jest compatibility considered.

Written by the indexing model from the issue text.

Description

Describe the problem you'd like to have solved

I'm currently using NextJS with it's Middleware feature which runs in the Vercel Edge Runtime - I would like to be able to verify JWTs here but due to the restrictions of the runtime it appears jsonwebtoken is not compatible.

Describe the ideal solution

Either compatibility with the whole library or a lighter weight verify function that can be used in this runtime.

Alternatives and current work-arounds

The jose library supports this, but isn't compatible with Jest which we rely on heavily.

Dominant language
JavaScript
Stars
18.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from auth0/node-jsonwebtoken

All issues in auth0/node-jsonwebtoken

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.