You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Next.js 12, we simply add a nonce attribute to <Head> and <NextScript> (from "next/document") in _document.js in order for nonces to be written to the initial scripts that Next.js creates. In Next.js 13, adding those elements from next/document has been eliminated in the new app paradigm, and Next seemingly does it in the background.
Please clarify where we pass a nonce as a prop so that Next 13 adds the nonce to the initial scripts.
Describe the solution you'd like
Clarification on the above matter.
Describe alternatives you've considered
I cannot see how it can be done provided the current design pattern.
rgrove, mlbiche, hugues-m, shun-shobon, DownChapel and 3 morecfrank and fi5u