We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current page.tsx uses use client which breaks the CSP integration in middleware.ts.
use client
Find a way to integrate the current functionality from client-side to server-side.
Sources:
Test sample: https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-react-samples/nextjs-sample
Check out documentation on: https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev
The text was updated successfully, but these errors were encountered:
Still problems with: vercel/next.js#54907
Sorry, something went wrong.
New problems today with CSP on Vercel/Next.js: Not solved: vercel/next.js#55638
Found that dynamic links are needed, for CSP to work: #54 hence the documentation and example in Next.js (with-strict-csp):
https://github.com/vercel/next.js/blob/canary/examples/with-strict-csp/middleware.js
Need dynamic page to trigger nonce generation. Because of usage of _app.tsx, this wont trigger on first page properly.
nonce
Resolve this and commit changes.
NOTE: use client has been removed/fixed
Much back and forth with CSP bug av vercel. CSP for nonce is currently disabled.
yelodevopsi
No branches or pull requests
Current page.tsx uses
use client
which breaks the CSP integration in middleware.ts.Find a way to integrate the current functionality from client-side to server-side.
Sources:
Test sample:
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-react-samples/nextjs-sample
Check out documentation on:
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev
The text was updated successfully, but these errors were encountered: