https://github.com/postor/2fa-example
2fa验证项目示例 | 2fa example project
https://github.com/postor/2fa-example
2fa nodejs shackjs typescript
Last synced: 2 months ago
JSON representation
2fa验证项目示例 | 2fa example project
- Host: GitHub
- URL: https://github.com/postor/2fa-example
- Owner: postor
- License: mit
- Created: 2021-08-17T07:01:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-19T09:34:36.000Z (almost 4 years ago)
- Last Synced: 2025-01-25T18:11:12.284Z (4 months ago)
- Topics: 2fa, nodejs, shackjs, typescript
- Language: TypeScript
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2fa-example
2fa 验证项目示例 | 2fa example project## usage
- `npm i`
- `yarn dev`
- open http://localhost:3000## 更多 | more
- 实际使用应为:用户设置秘钥,使用authy类客户端扫码保存到手机,在需要otp情况查看手机otp
- 项目中接口都保留了秘钥,实际使用中秘钥应在用户设置后存在后台,暴露会不安全