clerk-cookie
released this
02 Jul 18:58
·
897 commits
to main
since this release
Minor Changes
-
Introduces dynamic keys from
clerkMiddleware
, allowing access by server-side helpers likeauth
. Keys such assignUpUrl
,signInUrl
,publishableKey
andsecretKey
are securely encrypted using AES algorithm. (#3525) by @LauraBeatris- When providing
secretKey
,CLERK_ENCRYPTION_KEY
is required as the encryption key. IfsecretKey
is not provided,CLERK_SECRET_KEY
is used by default. clerkClient
from@clerk/nextjs
should now be called as a function, and its singleton form is deprecated. This change allows the Clerk backend client to read keys from the current request, which is necessary to support dynamic keys.
For more information, refer to the documentation: https://clerk.com/docs/references/nextjs/clerk-middleware#dynamic-keys
- When providing
Patch Changes
- Updated dependencies [
f1847b70b
]:- @clerk/[email protected]