Skip to content

feat(react-router): throw missing-env error instead of keyless bootstrap - #9576

Draft
djgould wants to merge 1 commit into
dg/keyless-cli/4-nuxtfrom
dg/keyless-cli/5-react-router
Draft

feat(react-router): throw missing-env error instead of keyless bootstrap#9576
djgould wants to merge 1 commit into
dg/keyless-cli/4-nuxtfrom
dg/keyless-cli/5-react-router

Conversation

@djgould

@djgould djgould commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

React Router repeat of #9517 (stacked on #9575): missing keys in development now fail with the CLI-pointing missing-key error instead of silently minting a keyless application.

  • Middleware keeps only claimed-app onboarding completion (completeOnboardingIfClaimed, delegating to the shared helper); missing keys throw via authenticateRequest.
  • Deletes the claim-URL plumbing: KeylessUrls in additional state, the serialized __keylessClaimUrl/__keylessApiKeysUrl clerk state, and the provider's __internal_keyless_* props.
  • Keyless service adapter no longer creates applications.
  • Unit tests for the claimed-onboarding contract; integration tests rewritten to assert the 500 + error and the claimed boot path.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview Aug 26, 2026 4:51pm
swingset Ready Ready Preview Aug 26, 2026 4:51pm

Request Review

@changeset-bot

changeset-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c31564a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/react-router Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant