From c1d426784d3bb57cec2fcae547d8b98db3ca8bbd Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Thu, 29 Oct 2026 03:52:59 +0000 Subject: [PATCH] docs: say the realm registers the callback on the developer origin too --- src/core/constants.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/constants.ts b/src/core/constants.ts index ad00994..ff339e7 100644 --- a/src/core/constants.ts +++ b/src/core/constants.ts @@ -5,9 +5,10 @@ export const AUTH_BASE_PATH = "/api/auth"; export const KEYCLOAK_PROVIDER_ID = "keycloak"; /** - * The callback path the realm contract registers as the client's only redirect URI (the - * `interlock` README, "Client"). `assertCallbackPath` checks at startup that Better Auth really - * serves this path, because it has moved between releases. + * The callback path the realm contract registers as the client's redirect URI, on the + * application's own origin and on the developer origin `https://localhost:8443` (the `interlock` + * README, "Client"). `assertCallbackPath` checks at startup that Better Auth really serves this + * path, because it has moved between releases. */ export const KEYCLOAK_CALLBACK_PATH = `${AUTH_BASE_PATH}/callback/${KEYCLOAK_PROVIDER_ID}`;