-
Couldn't load subscription status.
- Fork 401
chore(nextjs): Gracefully handle failure to create keyless #5015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(nextjs): Gracefully handle failure to create keyless #5015
Conversation
🦋 Changeset detectedLatest commit: fd9cfd5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
!snapshot |
|
Hey @panteliselef - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.16-snapshot.v20250127151717 --save-exact
npm i @clerk/backend@1.23.8-snapshot.v20250127151717 --save-exact
npm i @clerk/chrome-extension@2.2.2-snapshot.v20250127151717 --save-exact
npm i @clerk/clerk-js@5.50.0-snapshot.v20250127151717 --save-exact
npm i @clerk/elements@0.22.16-snapshot.v20250127151717 --save-exact
npm i @clerk/clerk-expo@2.7.0-snapshot.v20250127151717 --save-exact
npm i @clerk/expo-passkeys@0.1.15-snapshot.v20250127151717 --save-exact
npm i @clerk/express@1.3.43-snapshot.v20250127151717 --save-exact
npm i @clerk/fastify@2.1.16-snapshot.v20250127151717 --save-exact
npm i @clerk/localizations@3.10.1-snapshot.v20250127151717 --save-exact
npm i @clerk/nextjs@6.10.3-snapshot.v20250127151717 --save-exact
npm i @clerk/nuxt@1.0.12-snapshot.v20250127151717 --save-exact
npm i @clerk/clerk-react@5.22.7-snapshot.v20250127151717 --save-exact
npm i @clerk/react-router@1.0.2-snapshot.v20250127151717 --save-exact
npm i @clerk/remix@4.4.18-snapshot.v20250127151717 --save-exact
npm i @clerk/shared@2.20.15-snapshot.v20250127151717 --save-exact
npm i @clerk/tanstack-start@0.8.17-snapshot.v20250127151717 --save-exact
npm i @clerk/testing@1.4.16-snapshot.v20250127151717 --save-exact
npm i @clerk/themes@2.2.13-snapshot.v20250127151717 --save-exact
npm i @clerk/types@4.44.1-snapshot.v20250127151717 --save-exact
npm i @clerk/ui@0.3.17-snapshot.v20250127151717 --save-exact
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 }) => { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍🏼
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 testruns as expected.pnpm buildruns as expected.Type of change