Skip to content

Comments

feat: ox/webauthn#175

Merged
jxom merged 15 commits intomainfrom
jm/webauthn-docs-browser-tests
Feb 19, 2026
Merged

feat: ox/webauthn#175
jxom merged 15 commits intomainfrom
jm/webauthn-docs-browser-tests

Conversation

@jxom
Copy link
Member

@jxom jxom commented Feb 19, 2026

Summary

Overhauls WebAuthn support with dedicated ox/webauthn entrypoint modules for server-side registration & authentication ceremonies, credential management, and authenticator data parsing.

  • Registration – Full registration ceremony: create, getOptions, verify, with serializeOptions/deserializeOptions for server↔client transport
  • Authentication – Full authentication ceremony: sign, getOptions, verify, with serializeOptions/deserializeOptions for server↔client transport
  • Credentialserialize/deserialize for persisting and transporting WebAuthn credentials as JSON
  • Authenticator – Low-level utilities for constructing/parsing authenticator data, attestation objects, and client data JSON

…tion browser tests

- Add WebAuthn as a top-level docs section above ERCs & Tempo
- Add webauthn entrypoint to index.docs.ts for API doc generation
- Fix docgen regex to handle api-extractor _N suffix renames (e.g. Credential_2)
- Update vitest to v4.0.18 with @vitest/coverage-v8
- Add browser vitest project with @vitest/browser-playwright for .browser.test.ts files
- Add virtual authenticator setup via CDP WebAuthn protocol
- Add Registration browser tests: full ceremony, serialize/deserialize server-client-server flow, error cases

Amp-Thread-ID: https://ampcode.com/threads/T-019c7421-3037-76cb-b2a9-11d591c61c6d
Co-authored-by: Amp <amp@ampcode.com>
@vercel
Copy link

vercel bot commented Feb 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ox Ready Ready Preview, Comment Feb 19, 2026 9:06pm

Request Review

@socket-security
Copy link

socket-security bot commented Feb 19, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​vitest/​coverage-v8@​4.0.15 ⏵ 4.0.1899 +11006998 -1100
Updatedvitest@​4.0.15 ⏵ 4.0.189610079 +199 +1100
Added@​vitest/​browser-playwright@​4.0.18991008697100
Updatedplaywright@​1.55.0 ⏵ 1.58.2100100 +1610099100

View full report

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 19, 2026

Open in StackBlitz

npm i https://pkg.pr.new/ox@175

commit: 72b2ced

@jxom jxom changed the title feat: WebAuthn docs, browser vitest project & Registration browser tests feat: WebAuthn module rehaul – Registration, Authentication, Credential & Authenticator Feb 19, 2026
@jxom jxom changed the title feat: WebAuthn module rehaul – Registration, Authentication, Credential & Authenticator feat: ox/webauthn Feb 19, 2026
@jxom jxom marked this pull request as ready for review February 19, 2026 20:22
@jxom jxom merged commit 21e5222 into main Feb 19, 2026
22 of 25 checks passed
@jxom jxom deleted the jm/webauthn-docs-browser-tests branch February 19, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant