-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support webauthn #422
Conversation
New dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No new dependency issues detected in pull request Bot CommandsTo ignore an alert, reply with a comment starting with Ignoring: Pull request alert summary
📊 Modified Dependency Overview:
|
@elrrrrrrr 也来看看。 |
Codecov Report
@@ Coverage Diff @@
## master #422 +/- ##
==========================================
- Coverage 97.66% 97.08% -0.58%
==========================================
Files 153 156 +3
Lines 13632 13981 +349
Branches 1755 1783 +28
==========================================
+ Hits 13314 13574 +260
- Misses 318 407 +89
... and 2 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
兼容性上主要考量Chrome、Safari、Firefox、Edge,在限制只能使用内置认证器的基础上,Chrome和Edge无缝支持,Safari会引导开启iCloud钥匙才能用,macOS下Firefox不支持,且在macOS上不支持跨浏览器认证 |
@Wellaiyo 解决一下冲突,我准备合并了。 |
@Wellaiyo nunjucks 插件需要开启一下 2023-03-25 11:24:44,217 WARN 42604 Following plugins will be enabled implicitly that is disabled by application.
- view required by [nunjucks] |
本地跑了一下体验还不错, @Wellaiyo 几个问题修复一下就可以合并发布了。 |
if (!ua) return null; | ||
const os = ua.getOS(); | ||
if (os.name === 'iOS' || os.name === 'Android') return 'mobile'; | ||
if (os.name === 'Mac OS') return ua.getBrowser().name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows 和 Linux 不支持?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
支持,只是不需要特别标明。目前已知的是仅Mac OS下PC端才不支持跨浏览器
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
@SocketSecurity ignore cbor-extract@2.1.1 |
[skip ci] ## [3.11.0](v3.10.0...v3.11.0) (2023-03-27) ### Features * support webauthn ([#422](#422)) ([1b8512b](1b8512b))
🎉 This PR is included in version 3.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
enableWebAuthn: true
in the configuration