From b5d8e3c28cc8edeab0e764bc79a5bd10479c83f3 Mon Sep 17 00:00:00 2001 From: masnwilliams <43387599+masnwilliams@users.noreply.github.com> Date: Mon, 14 Sep 2026 21:28:47 +0000 Subject: [PATCH] Document managed auth events proxy --- auth/react.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/auth/react.mdx b/auth/react.mdx index 55073c99..4f433974 100644 --- a/auth/react.mdx +++ b/auth/react.mdx @@ -107,7 +107,7 @@ The component is client-only — `"use client"` is required in any RSC framework By default the component talks directly to `https://api.onkernel.com`. That works out of the box; nothing else to configure. -If you'd rather keep all auth traffic same-origin (cookies, CSP, observability), set `baseUrl=""` and proxy the three endpoints the package hits through your own framework: +If you'd rather keep all auth traffic same-origin (cookies, CSP, observability), set `baseUrl=""` and proxy the four endpoints the package hits through your own framework: ```ts next.config.ts export default { @@ -125,6 +125,10 @@ export default { source: "/auth/connections/:id/submit", destination: `${process.env.KERNEL_BASE_URL}/auth/connections/:id/submit`, }, + { + source: "/auth/connections/:id/events", + destination: `${process.env.KERNEL_BASE_URL}/auth/connections/:id/events`, + }, ]; }, };