这是一个适用于和风天气开发者服务的 JWT 调试工具,支持生成 Ed25519 密钥和创建 JWT。本工具基于 Web Cryptography API 实现,所有处理均在本地浏览器中完成,无任何网络请求,输入及生成的数据不会被上传或存储,仅在本地可见。
直接访问 👉 https://jwt.qweather.com
Chrome 137+,Edge 137+,Firefox 129+,Safari 17+
- 使用之前务必阅读身份认证文档以便了解如何在和风天气中使用 JWT。
- 本工具不能代替代码实现,在你的项目中应该自行编码或使用三方库生成 JWT。
- 本工具仅进行格式校验,生成的JWT不确保会被服务端接受。
- 验证 JWT 是否匹配你的帐号,登录控制台使用验证工具。
本项目在 Node.js v20+ 环境下开发,其他版本未测试。
git clone https://github.com/qwd/jwt-debugger.gitnpm installnpm start在浏览器打开 http://localhost:2323
npm run build编译文件存放在 dist/qw-jwt-debugger.html
This is a JWT debugging tool for QWeather Developer Services. It supports generating Ed25519 key and creating JWT. The tool is built on the Web Cryptography API and runs entirely in the browser, with no network requests. All inputs and generated data remain local and are not transmitted or stored.
Chrome 137+,Edge 137+,Firefox 129+,Safari 17+
- Refer to the Authentication documentation to understand how JWT is used in QWeather.
- This tool is for debugging and testing only. Generate JWT in your project using application code or third-party libraries.
- This tool performs local validation only and does not guarantee server-side acceptance.
- To verify if the JWT matches your account, log in to the Console and use the Validation Tool.
This project is developed in Node.js v20+, and other versions are not tested.
git clone https://github.com/qwd/jwt-debugger.gitnpm installnpm startOpen http://localhost:2323 in the browser.
npm run buildCompiled files are stored in dist/qw-jwt-debugger.html