clerk / clerk-docs

The documentation content for Clerk, an authentication and user management platform.
https://clerk.com/docs
80 stars 287 forks source link

feat(nextjs): Add "Dynamic keys" section on `clerkMiddleware` page #1164

Closed LauraBeatris closed 1 week ago

LauraBeatris commented 3 weeks ago

[!WARNING] Do not merge until https://github.com/clerk/javascript/pull/3525 is merged

Resolves SDK-1810

Related to https://github.com/clerk/javascript/pull/3525 - releasing clerkMiddleware dynamic keys.

This section aims to clarify the behavior of clerkMiddleware dynamic keys, outlining the requirement of defining an encryption key and which options are propagated and accessible to server-side helpers.

Also, updating environment variables page to include CLERK_ENCRYPTION_KEY

github-actions[bot] commented 3 weeks ago

Hey, here’s your docs preview: https://clerk.com/docs/pr/1164

LauraBeatris commented 3 weeks ago

FYI - We've renamed this feature from options propagation to dynamic keys.

alexisintech commented 2 weeks ago

@LauraBeatris is this fine to merge, or are we waiting on something?

LauraBeatris commented 2 weeks ago

@LauraBeatris is this fine to merge, or are we waiting on something?

@alexisintech We haven't shipped the feature yet (https://github.com/clerk/javascript/pull/3525), so I'm holding on merging this.

alexisintech commented 2 weeks ago

@LauraBeatris is this fine to merge, or are we waiting on something?

@alexisintech We haven't shipped the feature yet (clerk/javascript#3525), so I'm holding on merging this.

gotcha! adding the blocked tag until then.