Repository navigation
feat(auth): ship passkey-first authentication service - #12
Merged
Merged
Conversation
|
Macroscope skipped reviewing this pull request. Per-review cost limit exceeded (workspace setting). This review would cost an estimated $22.80, which exceeds your per-review limit of $10.00. The top 3 files driving up this estimate:
Tip To get this pull request reviewed, you can:
|
This was referenced Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The prototype cannot complete the intended passkey/social/OIDC flows, and its stacked PRs add unsafe email linking and extra runtimes.
Replace that stack with one PostgreSQL-backed Rust auth binary containing static login/onboarding/consent pages, plus a separate piquel.fr settings frontend. Passkeys authorize a reusable two-minute settings window; social signup requires a first passkey, and provider linking requires explicit passkey proof. Add minimal CLI invitations, configured OIDC clients, consent, RS256 tokens, refresh rotation and logout. Remove unused prototype modules and superseded plans.
Validation: 24 backend tests passed with none skipped, including real PostgreSQL, signed WebAuthn assertions and signed provider fixtures. Real Chromium exercised signup, cross-origin settings, passkey management, OIDC consent/PKCE, RS256 verification, userinfo and SSO. Release build, frontend checks, Clippy, and Rust/npm dependency audits passed. Live provider credentials and physical Apple/Google passkey devices remain unverified.
Supersedes #4, #5, #6, #7, #8, #9 and #10. Requires a fresh database; prototype compatibility and deployment are outside this release.
Model: GPT-6. Harness: Codex.
Note
Add passkey-first authentication service with OIDC, federation, and web apps
internal_eventsandpurpose_authorizationstablesconfiguration.SecretReferencerejects KMS URIs,auth-protocolremovesAccessTokenClaimsandtext_idmacro, andPasskeyApplication::newrejects subdomain and non-HTTPS originsMacroscope summarized 4738fba.