Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Support for Vercel Edge Runtime

未关闭
#864 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript, nextjs

调研方向

首先检查 Next.js Middleware 如何在 Vercel Edge Runtime 中运行,并将其限制与此库的 JWT 验证需求进行比较。该 issue 没有指定任何 repository 文件或测试;完成意味着实现整个库的兼容性,或提供一个可在 Edge Runtime 中工作的更轻量验证函数,同时考虑与 Jest 的兼容性。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
JavaScript
星标
18.2k
派生
1.3k
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

auth0/node-jsonwebtoken 的其他 Issue

查看 auth0/node-jsonwebtoken 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。