Skip to content

NoobTW/WebAuthn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAuthn

Implementation of WebAuthn API for server side and client side. Users register with a username and choose from one of the supported authenticators. The login process requires a matched username and authenticator pair.

The original codes are derived from tonijukica/webauthn. I've just extracted the core functions so that you can apply them on Express, Koa, or any other framework.

This is just a demonstration for WebAuthn, and it aims for ease of use. Not really optimized for production use yet. PRs are welcome.

Example

The demo link is available here: coming soon

You can also launch from the example folder. The server example is built with Koa.js, and the client example is built with Next.js.

Install

npm install webauthn-server webauthn-clt

Usage

Supported Attestation formats

  • Packed
  • Fido-U2F
  • Android SafetyNet
  • Android Key store (Needs testing)

License

MIT

Again, sourced here: tonijukica/webauthn.

About

WebAuthn for Node.js and React.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published