Skip to content
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

Add a note that dynamic is required for the nonce prop #1685

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

jescalan
Copy link
Contributor

@jescalan jescalan commented Nov 7, 2024

Explanation:

With the recent changes to ClerkProvider that cause it to static render by default, in order to pass nonce as a prop, which is pulled from headers, it requires server rendering, which means that dynamic must also be present. This is now documented in ClerkProvider's props as well as the CSP guide in the strict-dynamic section.

@jescalan jescalan requested a review from a team as a code owner November 7, 2024 00:49
Copy link

github-actions bot commented Nov 7, 2024

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

@jescalan jescalan requested review from BRKalow and alexisintech and removed request for a team November 7, 2024 00:53
docs/components/clerk-provider.mdx Outdated Show resolved Hide resolved
docs/security/clerk-csp.mdx Outdated Show resolved Hide resolved
@alexisintech alexisintech merged commit df17d02 into main Nov 12, 2024
2 checks passed
@alexisintech alexisintech deleted the je.csp-dynamic-provider branch November 12, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants