liveshowy/webauthn_components
61.5
Adequate · 15 November 2026
1.4k
lines of production code
Elixir
primary language
5
measurements over time
What this system is
Features
Introduce dedicated WebAuthn registration and authentication LiveComponents
The \lib/webauthn\_components\ library now provides separate \RegistrationComponent\ and \AuthenticationComponent\ LiveComponents, replacing the previous monolithic registration logic. The new \AuthenticationComponent\ handles sign-in flows, including cross-device QR code scanning and optional passkey autofill (conditional UI), while the \RegistrationComponent\ manages credential creation. A new \ClientCapabilitiesComponent\ allows applications to detect browser support for WebAuthn features and conditionally render these components. Additionally, a \CoseKey\ Ecto type is introduced to simplify storing and retrieving WebAuthn public keys in the database.
_lib/webauthn\components · high confidence
Removals
Removal of stub WebauthnLiveComponent
The placeholder \WebauthnLiveComponent\ module, which previously only contained a generic \hello/0\ function, has been removed from the library. This cleanup eliminates unused scaffolding code from the \lib\ directory.
lib · high confidence
Behavioural changes
Consolidate WebAuthn client-side hooks into a single module
The WebAuthn client-side logic is now centralized in \priv/static/webauthn\_hooks.js\, which exports three distinct hooks: \ClientCapabilitiesHook\ for detecting browser support, \RegistrationHook\ for handling credential creation, and \AuthenticationHook\ for handling credential retrieval. This consolidation simplifies the frontend structure by grouping all WebAuthn-related JavaScript interactions into one file, ensuring consistent handling of base64 decoding and error reporting across registration and authentication flows.
priv · high confidence
Initial configuration for WebAuthn components and test environment logging
The application now includes a base configuration file that sets Jason as the JSON library and defines specific settings for the WebAuthn test endpoint, including its network address, secret key, and LiveView signing salt. Additionally, when running in the test environment, the logger level is explicitly set to :warning to reduce output noise during testing.
config · high confidence
Rename package to WebauthnComponents and update Elixir runtime versions
The project has been renamed from \webauthn\_live\_component\ to \webauthn\_components\, reflected in the package name, tarball artifacts, and documentation. The development environment is updated to use Erlang/OTP 28.4 and Elixir 1.20.2, and the Elixir formatter is configured to support Phoenix LiveView \.heex\ templates.
(repo-wide) · high confidence
Test coverage
Added test support infrastructure for WebAuthn component testing; Added unit tests for WebAuthn components and configuration schemas; Updated test configuration and removed stub test.
Dependencies
Upgrade to Phoenix LiveView 1.2 and Elixir 1.18
The WebauthnComponents package has been updated to require Elixir 1.18 and Phoenix LiveView 1.2, replacing the previous LiveView 0.17 dependency. This upgrade also includes updates to Phoenix 1.6, Ecto 3.10, and Jason, while adding new optional dependencies like \lazy\html\ for testing and \wax\\ for WebAuthn functionality. The package name has been changed from \webauthn\_live\_component\ to \webauthn\_components\ to reflect the broader scope of the library.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 62 → 61 (-0.1)
- Rubric changed (rubric-2026.11.1 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 99 → 94 (-5.2)
- Architecture 69 → 69 (+0.0)
- Maturity 69 → 70 (+1.5)
- Readiness 49 → 49 (-0.1)
- Security 76 → 76 (-0.3)
New (6)
- Edited copy of a member (26 corresponding lines) (lib/webauthn_components/authentication_component.ex)
- Edited copy of a member (7 corresponding lines) (lib/webauthn_components/authenticator_selection.ex)
- Edited copy of a member (8 corresponding lines) (lib/webauthn_components/authentication_component.ex)
- Edited copy of a member (8 corresponding lines) (lib/webauthn_components/public_key_credential_request_options.ex)
- Medium CVE: EEF-[CVE redacted] (mix.lock)
- Outdated: ecto
Changes since last survey
- 1 commits — 1 feature/other, 0 fixes
By area
- (root) — 1 commit
Notable commits
- change: Add CRUD Integration Guide (#119)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
liveshowy/webauthn_components was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit ef7aa160a56747e731478b662bc5b646f1b6059f — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.73+preprod-52de90b74216.