Skip to content

Conversation

@panteliselef
Copy link
Member

Description

If keys are not explicitly set, keyless will kick in, if keyless creation fails, then fallback to throwing error for missing publishable key

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 Jan 27, 2025
@changeset-bot
Copy link

changeset-bot bot commented Jan 27, 2025

🦋 Changeset detected

Latest commit: fd9cfd5

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
Copy link

vercel bot commented Jan 27, 2025

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

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 3:13pm

@panteliselef
Copy link
Member Author

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @panteliselef - the snapshot version command generated the following package versions:

Package Version
@clerk/astro 2.1.16-snapshot.v20250127151717
@clerk/backend 1.23.8-snapshot.v20250127151717
@clerk/chrome-extension 2.2.2-snapshot.v20250127151717
@clerk/clerk-js 5.50.0-snapshot.v20250127151717
@clerk/elements 0.22.16-snapshot.v20250127151717
@clerk/clerk-expo 2.7.0-snapshot.v20250127151717
@clerk/expo-passkeys 0.1.15-snapshot.v20250127151717
@clerk/express 1.3.43-snapshot.v20250127151717
@clerk/fastify 2.1.16-snapshot.v20250127151717
@clerk/localizations 3.10.1-snapshot.v20250127151717
@clerk/nextjs 6.10.3-snapshot.v20250127151717
@clerk/nuxt 1.0.12-snapshot.v20250127151717
@clerk/clerk-react 5.22.7-snapshot.v20250127151717
@clerk/react-router 1.0.2-snapshot.v20250127151717
@clerk/remix 4.4.18-snapshot.v20250127151717
@clerk/shared 2.20.15-snapshot.v20250127151717
@clerk/tanstack-start 0.8.17-snapshot.v20250127151717
@clerk/testing 1.4.16-snapshot.v20250127151717
@clerk/themes 2.2.13-snapshot.v20250127151717
@clerk/types 4.44.1-snapshot.v20250127151717
@clerk/ui 0.3.17-snapshot.v20250127151717
@clerk/vue 1.1.7-snapshot.v20250127151717

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/astro

npm i @clerk/astro@2.1.16-snapshot.v20250127151717 --save-exact

@clerk/backend

npm i @clerk/backend@1.23.8-snapshot.v20250127151717 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@2.2.2-snapshot.v20250127151717 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.50.0-snapshot.v20250127151717 --save-exact

@clerk/elements

npm i @clerk/elements@0.22.16-snapshot.v20250127151717 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.7.0-snapshot.v20250127151717 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.1.15-snapshot.v20250127151717 --save-exact

@clerk/express

npm i @clerk/express@1.3.43-snapshot.v20250127151717 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.1.16-snapshot.v20250127151717 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.10.1-snapshot.v20250127151717 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.10.3-snapshot.v20250127151717 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@1.0.12-snapshot.v20250127151717 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.22.7-snapshot.v20250127151717 --save-exact

@clerk/react-router

npm i @clerk/react-router@1.0.2-snapshot.v20250127151717 --save-exact

@clerk/remix

npm i @clerk/remix@4.4.18-snapshot.v20250127151717 --save-exact

@clerk/shared

npm i @clerk/shared@2.20.15-snapshot.v20250127151717 --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.8.17-snapshot.v20250127151717 --save-exact

@clerk/testing

npm i @clerk/testing@1.4.16-snapshot.v20250127151717 --save-exact

@clerk/themes

npm i @clerk/themes@2.2.13-snapshot.v20250127151717 --save-exact

@clerk/types

npm i @clerk/types@4.44.1-snapshot.v20250127151717 --save-exact

@clerk/ui

npm i @clerk/ui@0.3.17-snapshot.v20250127151717 --save-exact

@clerk/vue

npm i @clerk/vue@1.1.7-snapshot.v20250127151717 --save-exact


export const ClientClerkProvider = (props: NextClerkProviderProps) => {
const { children, ...rest } = props;
export const ClientClerkProvider = (props: NextClerkProviderProps & { disableKeyless?: boolean }) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is disableKeyless not an official prop for NextClerkProviderProps?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I only need this in order for the Server Component ClerkProvider to pass it down to the ClientClerkProvider

Copy link
Member

@jacekradko jacekradko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍🏼

@panteliselef panteliselef merged commit d58fda9 into main Jan 27, 2025
30 checks passed
@panteliselef panteliselef deleted the elef/actls-69-implement-a-way-to-turn-off-keyless-in-clerknextjs branch January 27, 2025 19:59
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