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 an API to Nosecone to get the nonce #3133

Open
davidmytton opened this issue Feb 8, 2025 · 1 comment
Open

Add an API to Nosecone to get the nonce #3133

davidmytton opened this issue Feb 8, 2025 · 1 comment

Comments

@davidmytton
Copy link
Contributor

This would help when developers need to provide the nonce to scripts which do not use something like the Next.js Script component.

For example, PostHog requires you to pass the nonce into the init code.

@blaine-arcjet
Copy link
Contributor

The Next.js <Script> component auto-injects the nonce.

We can still add something for PostHog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants