Skip to content

Commit 3f64080

Browse files
authoredDec 5, 2024··
feat(nextjs): Support Keyless mode (#4602)
1 parent e7abe51 commit 3f64080

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+673
-64
lines changed
 

‎.changeset/dry-cats-change.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@clerk/backend': minor
3+
---
4+
5+
New **experimental** API: `AccountlessApplicationAPI`
6+
7+
Inside `clerkClient` you can activate this new API through `__experimental_accountlessApplications`. It allows you to generate an "accountless" application and the API returns the publishable key, secret key, and an URL as a response. The URL allows a user to claim this application with their account. Hence the name "accountless" because in its initial state the application is not attached to any account yet.

‎.changeset/grumpy-camels-think.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@clerk/clerk-react': minor
3+
---
4+
5+
Various internal changes have been made to support a new feature called "Keyless mode". You'll be able to use this feature with Next.js and `@clerk/nextjs` initially. Read the `@clerk/nextjs` changelog to learn more.
6+
7+
List of changes:
8+
- A new internal prop called `__internal_bypassMissingPublishableKey` has been added. Normally an error is thrown when the publishable key is missing, this disables this behavior.
9+
- Loading of `clerk-js` won't be attempted when a missing key is present
10+
- A new instance of `IsomorphicClerk` (an internal Clerk class) is created for each new publishable key

0 commit comments

Comments
 (0)