logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.31k stars 406 forks source link

feat(core): implement the WebAuthn verification #6308

Closed simeng-li closed 1 month ago

simeng-li commented 1 month ago

Summary

Implement the WebAuthn verification.

Testing

need to test manually not able to write the integration tests for WebAuthn.

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :warning: :chart_with_upwards_trend: +14.28 KB

Diff by File |Name|Diff| |---|---| |packages/core/src/routes/experience/classes/libraries/mfa-validator.ts|0 Bytes| |packages/core/src/routes/experience/classes/verifications/index.ts|:chart_with_upwards_trend: +372 Bytes| |packages/core/src/routes/experience/classes/verifications/web-authn.ts|:chart_with_upwards_trend: +8.66 KB| |packages/core/src/routes/experience/index.ts|:chart_with_upwards_trend: +134 Bytes| |packages/core/src/routes/experience/verification-routes/totp-verification.ts|:chart_with_upwards_trend: +102 Bytes| |packages/core/src/routes/experience/verification-routes/web-authn-verification.ts|:chart_with_upwards_trend: +5.22 KB| |packages/core/src/routes/interaction/verifications/mfa-payload-verification.ts|0 Bytes|