@ponjimon/remix-auth-webauthn
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Remix Auth WebAuthn

CI Version License

This strategy for Remix Auth provides WebAuthn support for authenticating users. It uses the WebAuthn API to register and authenticate users based on the SimpleWebAuthn library.

Understanding WebAuthn

Note This section is still under construction.

sequenceDiagram
    User->>+Server: Action (Send Identifier e.g Email Address)
    Server->>+SessionStorage: Stores Registration Options
    SessionStorage->>-Server: Passes Registration Options to Loader
    Server->>-User: Loader (Gets Registration Options from Session)
    User->>+Device: Generates Passkey using prev. Registration Options
    Device->>-User: Returns Registration Response
    User->>+Server: Action (Send Username and RegistrationResponse)
    SessionStorage->>+Server: Get Challenge from Registration Options
    Server->>+User: Returns User object on verified registration

Installation

Note This section is still under construction.

Package Sidebar

Install

npm i @ponjimon/remix-auth-webauthn

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

39.4 kB

Total Files

7

Last publish

Collaborators

  • ponjimon