Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.5 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.5 KB

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.