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.
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
Note This section is still under construction.