fix(oidc): disable devInteractions so custom interactions.url runs in dev

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".
This commit is contained in:
Jennie Robinson Faber 2026-04-29 19:59:49 +01:00
parent a69c9d9b49
commit 23154ff232

View file

@ -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,