Skip to content

feat(identity): add WebAuthn passkey authentication POC#5

Open
warrendugan wants to merge 1 commit intomainfrom
claude/webauthn-passkey-poc-t2Pdj
Open

feat(identity): add WebAuthn passkey authentication POC#5
warrendugan wants to merge 1 commit intomainfrom
claude/webauthn-passkey-poc-t2Pdj

Conversation

@warrendugan
Copy link
Copy Markdown
Owner

Self-hosted WebAuthn proof of concept with full register/authenticate flow:

  • apps/auth-api: Express server with @simplewebauthn/server, SQLite storage,
    RS256 JWT (jose), in-memory challenge store with 5-min TTL, JWKS endpoint,
    credential management (list/revoke)
  • apps/web: Angular 21 app with signal-based auth, lazy-loaded pages
    (login, register, dashboard), @simplewebauthn/browser ceremonies
  • libs/shared/types: AppClaims, StoredCredential, IdentityEvent, API contracts
  • libs/identity/domain: User aggregate, Credential value object, typed event bus
  • libs/shared/auth: AuthContext (signals-only API), authInterceptor,
    authGuard/noAuthGuard, JWT decode utility
  • libs/identity/data-access: WebAuthnService orchestrating two-step ceremonies

https://claude.ai/code/session_01V9mnWB32phzq1rj8SL9hF6

Self-hosted WebAuthn proof of concept with full register/authenticate flow:

- apps/auth-api: Express server with @simplewebauthn/server, SQLite storage,
  RS256 JWT (jose), in-memory challenge store with 5-min TTL, JWKS endpoint,
  credential management (list/revoke)
- apps/web: Angular 21 app with signal-based auth, lazy-loaded pages
  (login, register, dashboard), @simplewebauthn/browser ceremonies
- libs/shared/types: AppClaims, StoredCredential, IdentityEvent, API contracts
- libs/identity/domain: User aggregate, Credential value object, typed event bus
- libs/shared/auth: AuthContext (signals-only API), authInterceptor,
  authGuard/noAuthGuard, JWT decode utility
- libs/identity/data-access: WebAuthnService orchestrating two-step ceremonies

https://claude.ai/code/session_01V9mnWB32phzq1rj8SL9hF6
@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Mar 12, 2026

View your CI Pipeline Execution ↗ for commit 290cf48

Command Status Duration Result
nx run tools-pact:test ✅ Succeeded <1s View ↗
nx affected --target=integration-test --exclude... ✅ Succeeded <1s View ↗
nx affected --target=test --exclude=*-e2e --cov... ✅ Succeeded 39s View ↗
nx affected --target=lint --exclude=*-e2e ✅ Succeeded 20s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-12 06:24:36 UTC

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.

2 participants