Skip to content

Ponjimon/remix-auth-webauthn

Repository files navigation

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
Loading

Installation

Note This section is still under construction.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages