Skip to content

fix(nextjs): Pass keyless credentials to request data only missing explicit keys#5085

Merged
panteliselef merged 3 commits into
mainfrom
elef/actls-85-unable-to-verify-request-when-keyless-and-claimed
Feb 6, 2025
Merged

fix(nextjs): Pass keyless credentials to request data only missing explicit keys#5085
panteliselef merged 3 commits into
mainfrom
elef/actls-85-unable-to-verify-request-when-keyless-and-claimed

Conversation

@panteliselef

@panteliselef panteliselef commented Feb 6, 2025

Copy link
Copy Markdown
Contributor

Description

The following error was mistakenly thrown when a 2 application where running on the same domain. Application A was in keyless mode and Application B was running with claimed keys and Application B was attempting to sign a user in.
image

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@panteliselef panteliselef self-assigned this Feb 6, 2025
@changeset-bot

changeset-bot Bot commented Feb 6, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f3c99fa

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

This PR includes changesets to release 1 package
Name Type
@clerk/nextjs Patch

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

@vercel

vercel Bot commented Feb 6, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ⬜️ Skipped (Inspect) Feb 6, 2025 8:46am

Comment thread packages/nextjs/src/server/clerkMiddleware.ts Outdated
@panteliselef
panteliselef enabled auto-merge (squash) February 6, 2025 08:48
@panteliselef
panteliselef merged commit d1a8d8d into main Feb 6, 2025
@panteliselef
panteliselef deleted the elef/actls-85-unable-to-verify-request-when-keyless-and-claimed branch February 6, 2025 08:53
wobsoriano pushed a commit that referenced this pull request Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants