Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noobtw/webauthn
WebAuthn for Node.js and React.js
https://github.com/noobtw/webauthn
fido2 webauthn
Last synced: 15 days ago
JSON representation
WebAuthn for Node.js and React.js
- Host: GitHub
- URL: https://github.com/noobtw/webauthn
- Owner: NoobTW
- Created: 2021-05-21T08:02:38.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T11:58:07.000Z (over 3 years ago)
- Last Synced: 2024-04-25T03:42:30.080Z (7 months ago)
- Topics: fido2, webauthn
- Language: JavaScript
- Homepage:
- Size: 569 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/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
```shell
npm install webauthn-server webauthn-clt
```## Usage
- [Server-side Usage](server)
- [Client-side Usage](client)## Supported Attestation formats
- Packed
- Fido-U2F
- Android SafetyNet
- Android Key store (Needs testing)## License
MIT
Again, sourced here: [tonijukica/webauthn](https://github.com/tonijukica/webauthn).