ランキングに戻る

MasterKale/SimpleWebAuthn

TypeScriptsimplewebauthn.dev

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.

webauthntypescriptnodebrowserumdfidopasskeyscommonjsdenodenolandesm
スター成長
スター
2.3k
フォーク
199
週間成長
Issue
9
1k2k
2023年1月2024年3月2025年5月2026年7月
成果物npmnpm install simplewebauthn
README

SimpleWebAuthn

WebAuthn npm (scoped) JSR Scope

Overview

This project features two complimentary libraries to help reduce the amount of work needed to incorporate WebAuthn into a website. The following packages are maintained here:

Installation

SimpleWebAuthn can be installed from NPM and JSR in Node LTS 20.x and higher, Deno v1.43 and higher projects, and other compatible runtimes (Cloudflare Workers, Bun, etc...)

See the packages' READMEs for more specific installation information.

Documentation

In-depth documentation for this project is available at https://simplewebauthn.dev/docs

Sponsors

Thank you very much to those who sponsor my work. Your contributions help keep the open-source dream alive 🙇‍♂️

Interested in sponsoring this project? See here for more info: https://github.com/sponsors/MasterKale

🌟 Platinum Sponsor

Auth0 by Okta
Simple Authentication. Make login our problem. Not yours.

🏅 Gold Sponsor

Authsignal
Simple, drop-in passkeys and MFA as a Service

Example

For a practical guide to implementing these libraries, take a look at the example project. It includes a single-file Express server and a few HTML files that, combined with the packages in this repo, are close to all it takes to get up and running with WebAuthn.

Contributions

The SimpleWebAuthn project is not currently open to external contributions.

Please submit an Issue and fill out the provided template with as much information as possible if you have found a bug in need of fixing.

You can also submit an Issue to request new features, or to suggest changes to existing features.

Development

Install the following before proceeding:

  • Deno v2.4.x

After pulling down the code, set up dependencies:

$> deno install

To run unit tests for all workspace packages, use the test series of scripts:

# Run an individual package's tests
$> cd packages/browser/ && deno task test
$> cd packages/server/ && deno task test

Tests can be run in watch mode with the test:watch series of scripts:

$> cd packages/browser/ && deno task test:watch
$> cd packages/server/ && deno task test:watch
関連リポジトリ
authelia/authelia

The Single Sign-On Multi-Factor portal for web apps, now OpenID Certified™

GoGo ModulesApache License 2.0totpldap
authelia.com
28.3k1.4k
casdoor/casdoor

An open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD

GoGo ModulesApache License 2.0oidcsso
casdoor.ai
14k1.7k
pennersr/django-allauth

Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication. 🔁 Mirror of https://codeberg.org/allauth/django-allauth/

PythonPyPIMIT Licenseauthenticationdjango
allauth.org
10.4k3.1k
teamhanko/hanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

GoGo ModulesOtherpasskeyswebauthn
hanko.io
9k1k
kanidm/kanidm

Kanidm: A simple, secure, and fast identity management platform

Rustcrates.ioMozilla Public License 2.0identityidentity-management
kanidm.com
5.2k341
google/OpenSK

OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.

Rustcrates.ioApache License 2.0fido2u2f
3.4k330
solokeys/solo1

Solo 1 firmware in C

COtherfido2u2f
solokeys.com
2.4k291
kdeldycke/awesome-iam

👤 Identity and Access Management knowledge for cloud platforms

Creative Commons Zero v1.0 Universaliamsecret-management
2.2k185
greenpau/caddy-security

🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. 💎 Authorization with JWT/PASETO tokens. 🔐

GoGo ModulesApache License 2.0caddy-plugincaddy2
authcrunch.com
2.2k102
authgear/authgear-server

Open source Auth0/Clerk/Firebase alternative. Passkeys, SSO, MFA, passwordless, biometric login. Self-hosted or cloud. Enterprise-ready for SaaS & mobile apps

GoGo ModulesApache License 2.02faauth0
authgear.com
1.9k124
yackermann/awesome-webauthn

🔐 A curated list of awesome WebAuthn and Passkey resources

Creative Commons Zero v1.0 Universalawesome-listawesome
bit.ly/AwesomeWebAuthn
1.8k149
privacyidea/privacyidea

:closed_lock_with_key: multi factor authentication system (2FA, MFA, OTP, FIDO Server)

PythonPyPIGNU Affero General Public License v3.0pythontwo-factor
privacyidea.org
1.7k356