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:
parent
a69c9d9b49
commit
23154ff232
1 changed files with 1 additions and 3 deletions
|
|
@ -86,9 +86,7 @@ export async function getOidcProvider() {
|
||||||
},
|
},
|
||||||
|
|
||||||
features: {
|
features: {
|
||||||
devInteractions: {
|
devInteractions: { enabled: false },
|
||||||
enabled: process.env.NODE_ENV !== "production",
|
|
||||||
},
|
|
||||||
revocation: { enabled: true },
|
revocation: { enabled: true },
|
||||||
rpInitiatedLogout: {
|
rpInitiatedLogout: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue