From 23154ff232dad834c049cbb24ecffdfcab2751c4 Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Wed, 29 Apr 2026 19:59:49 +0100 Subject: [PATCH] fix(oidc): disable devInteractions so custom interactions.url runs in dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit oidc-provider's devInteractions is a quick-start scaffold that, when enabled, mutates configuration.url to its own urlFor('interaction') helper — emitting /interaction/UID instead of our /oidc/interaction/UID. That made /oidc/auth redirect to a 404 in local dev and forced a stale TODO entry. We already have our own interaction handler at server/routes/oidc/interaction/[uid].get.ts, so devInteractions is unnecessary; disabling it makes dev match prod and clears the oidc-provider warning "your configuration is not in effect". --- server/utils/oidc-provider.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/utils/oidc-provider.ts b/server/utils/oidc-provider.ts index dfc7042..187f8a8 100644 --- a/server/utils/oidc-provider.ts +++ b/server/utils/oidc-provider.ts @@ -86,9 +86,7 @@ export async function getOidcProvider() { }, features: { - devInteractions: { - enabled: process.env.NODE_ENV !== "production", - }, + devInteractions: { enabled: false }, revocation: { enabled: true }, rpInitiatedLogout: { enabled: true,