feat(0pt): allow the acquisition engine to write canonical facts via X-Internal-Token #482

Closed
admin wants to merge 4 commits from feat/canonical-internal-token into main
Showing only changes of commit faf1df8a39 - Show all commits
+1 -1
View File
@@ -4,7 +4,7 @@
* Customer calls use verified Zitadel bearer identity and receive immutable
* x-0pt-verified-* headers. Explicit machine routes may instead use the
* shared X-Internal-Token convention; mutation handlers verify it again for
* defence in depth.
* defence in depth. The canonical-fact write is one such explicit machine route.
*/
import { NextResponse, type NextRequest } from 'next/server';
import { assertAuthConfigSafe, resolveAuthContext } from '@/src/auth/context';