Skip to content

Remove the unused shared passkey relying-party ID from core - #855

Merged
jimhoyd merged 1 commit into
mainfrom
claude/remove-passkey-rp-id
Sep 28, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
claude/remove-passkey-rp-id

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #854 (#841). Since auth moved to Better Auth, no first-party extension uses passkeys, so core's shared WebAuthn RP-ID option goes. There is no deprecation period, per the no-external-users decision.

Removed

  • CLI: --passkey-rp-id on dev, serve, validate, test, routes, audit and benchmark, with its usage lines, help text and refusal check.
  • Hosted handlers: URLCODE_PASSKEY_RP_ID and the passkeyRpId option on the AWS and Vercel handlers (resolvePasskeyRpId).
  • Runtime: the passkeyRpId option in createRuntime/runProjectTests, the extension activation field, and its validator (passkeyRpId(), passkeyPublicSuffixes).
  • Kept unchanged: the alias-origin handling (siteOrigins, isSiteOrigin, maxAliasOrigins).
  • Tests: the passkey tests are deleted. A ui kit test sample path is renamed.
  • Docs: the passkey sections are removed from EXTENSIONS, FRAMEWORK, OPERATIONS, AWS, VERCEL, RUNTIME-IMPLEMENTATION (RIM-EXT-ORIGIN-001), llms, the skills and the auth README. The generated copies are regenerated.

Evidence

  • npm run verify on the branch rebased onto main passes, including every workspace suite, test:addons and test:proof.
  • Root tests: 1095 passed, 0 failed.
  • git grep -i passkey now matches only one historical measurement comment in scripts/package-audit.ts.

🤖 Generated with Claude Code

No first-party extension uses passkeys since auth moved to Better Auth, so
--passkey-rp-id, URLCODE_PASSKEY_RP_ID, the passkeyRpId runtime/handler options
and the activation field go, with their validation, tests and docs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimhoyd
jimhoyd enabled auto-merge (squash) September 28, 2026 18:55
@jimhoyd
jimhoyd merged commit 95b0222 into main Sep 28, 2026
31 checks passed
@jimhoyd
jimhoyd deleted the claude/remove-passkey-rp-id branch September 28, 2026 18:59
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