AshAuthentication.Phoenix.Components.WebAuthn.RegistrationForm
(ash_authentication_phoenix v3.0.0-rc.6)
View Source
Registration form for WebAuthn.
Renders an identity input and a "Register with Passkey" button. On click, generates a challenge, pushes it to the JS hook, and handles the attestation response.
On successful registration, redirects to the sign_in_with_token auth path
(matching the existing auth completion flow used by Password.SignInForm).
Overrides
This component provides the following overrides:
:root_class- CSS class for the rootdivelement.:slot_class- CSS class for thedivsurrounding the slot.:form_class- CSS class for theformelement.:button_text- Text for the registration button.:disable_button_text- Text shown while the registration ceremony is in progress.
See AshAuthentication.Phoenix.Overrides for more information.