chore(work): finish 08-app-wiring-web-next
This commit is contained in:
@@ -3,12 +3,12 @@ id: 08-app-wiring-web-next
|
||||
epic: security-headers-rate-limit-sbom
|
||||
title: "App wiring: web-next"
|
||||
type: technical-story
|
||||
status: todo
|
||||
status: done
|
||||
feature: web-next
|
||||
depends-on: [07-security-header-adapters]
|
||||
blocks: []
|
||||
created: 2026-05-20T00:00:00Z
|
||||
updated: 2026-05-20T08:14:55.907Z
|
||||
updated: 2026-05-20T10:14:20.860Z
|
||||
---
|
||||
|
||||
## Goal
|
||||
@@ -44,4 +44,4 @@ Wire the security headers middleware end-to-end in `apps/web-next` — middlewar
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] Wire `core-shared/security/next` middleware in `apps/web-next/middleware.ts` chained before existing auth checks; update `apps/web-next/instrumentation-client.ts` to read nonce via `getNonce()` and pass to `Sentry.init` replay + feedback integrations; thread nonce from `getNonce()` into `<Script nonce={nonce}>` in `apps/web-next/app/layout.tsx`; add middleware test asserting all six headers, prod/dev CSP shape, and `x-nonce` present in response; all gates pass.
|
||||
- [x] Wire `core-shared/security/next` middleware in `apps/web-next/middleware.ts` chained before existing auth checks; update `apps/web-next/instrumentation-client.ts` to read nonce via `getNonce()` and pass to `Sentry.init` replay + feedback integrations; thread nonce from `getNonce()` into `<Script nonce={nonce}>` in `apps/web-next/app/layout.tsx`; add middleware test asserting all six headers, prod/dev CSP shape, and `x-nonce` present in response; all gates pass.
|
||||
|
||||
Reference in New Issue
Block a user