Support for Vercel Edge Runtime
还没有人认领这个 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
auth0/node-jsonwebtoken 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
auth0/node-jsonwebtoken#1042 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
auth0/node-jsonwebtoken#1000 · 2 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 65/100
auth0/node-jsonwebtoken#1046 ·
-
难度 5/5 一周以上 新手友好度 10/100
auth0/node-jsonwebtoken#1034 ·
-
难度 3/5 1-2 天 新手友好度 48/100
auth0/node-jsonwebtoken#1032 ·
查看 auth0/node-jsonwebtoken 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
antfu-collective/icones#398 ·
-
ECmail.com 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
wesbos/burner-email-providers#554 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
radiantearth/stac-browser#1023 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
components-web-app/docs#92 ·