AshAuthentication.Phoenix.WebAuthnSetupLive (ash_authentication_phoenix v3.0.0-rc.6)

View Source

A generic, white-label WebAuthn passkey setup page for second-factor flows.

Wraps AshAuthentication.Phoenix.Components.WebAuthn.ManageCredentials — authenticated users can register a new passkey, see existing credentials, rename them, or revoke them.

Mounted by the webauthn_setup_route/3 router macro (default path /webauthn-setup). Pair with Plug.RequireAuthenticated (or your equivalent) so only signed-in users hit it.

Overrides

This component provides the following overrides:

  • :root_class - CSS class for the root div element.
  • :webauthn_setup_id - Element ID for the ManageCredentials LiveComponent.

See AshAuthentication.Phoenix.Overrides for more information.