Skip to content

chore(nextjs): Restrict keyless to session auth#5930

Merged
wobsoriano merged 1 commit intorob/robo-36-sdk-m2mfrom
rob/robo-166-keyless-fix
May 15, 2025
Merged

chore(nextjs): Restrict keyless to session auth#5930
wobsoriano merged 1 commit intorob/robo-36-sdk-m2mfrom
rob/robo-166-keyless-fix

Conversation

@wobsoriano
Copy link
Member

@wobsoriano wobsoriano commented May 15, 2025

Description

When a request that comes in contains a machine token, skip the keyless check for missing PK or SK so it throws the missing PK or SK error

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:

@changeset-bot
Copy link

changeset-bot bot commented May 15, 2025

🦋 Changeset detected

Latest commit: af82b23

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

This PR includes changesets to release 11 packages
Name Type
@clerk/backend Major
@clerk/tanstack-react-start Minor
@clerk/agent-toolkit Minor
@clerk/react-router Minor
@clerk/express Minor
@clerk/fastify Minor
@clerk/astro Minor
@clerk/remix Minor
@clerk/nuxt Minor
@clerk/nextjs Minor
@clerk/testing 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
Copy link

vercel bot commented May 15, 2025

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) May 15, 2025 1:48am

@wobsoriano wobsoriano changed the base branch from main to rob/robo-36-sdk-m2m May 15, 2025 01:48
@wobsoriano wobsoriano requested a review from panteliselef May 15, 2025 01:49
@wobsoriano wobsoriano changed the title chore: Restrict keyless to session auth chore(nextjs): Restrict keyless to session auth May 15, 2025
@wobsoriano wobsoriano merged commit 58c0fd7 into rob/robo-36-sdk-m2m May 15, 2025
37 of 39 checks passed
@wobsoriano wobsoriano deleted the rob/robo-166-keyless-fix branch May 15, 2025 14:40
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.

3 participants