From a4b9f94d4f4358084f13b47c7931eaec68d13274 Mon Sep 17 00:00:00 2001 From: benjdlambert Date: Mon, 8 Sep 2025 15:14:05 +0200 Subject: [PATCH] chore: fix experimental flag Signed-off-by: benjdlambert --- .changeset/eleven-doors-down.md | 2 +- .changeset/eleven-doors-own.md | 2 +- plugins/auth-backend/src/service/router.ts | 2 +- plugins/mcp-actions-backend/src/plugin.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.changeset/eleven-doors-down.md b/.changeset/eleven-doors-down.md index a253828c54..0d380c8ddf 100644 --- a/.changeset/eleven-doors-down.md +++ b/.changeset/eleven-doors-down.md @@ -2,4 +2,4 @@ '@backstage/plugin-mcp-actions-backend': patch --- -Proxy `/.well-known/oauth-authorization-server` to `/.well-known/openid-configuration` on `auth-backend` when `auth.experimental.enableDynamicClientRegistration` is enabled. +Proxy `/.well-known/oauth-authorization-server` to `/.well-known/openid-configuration` on `auth-backend` when `auth.experimentalDynamicClientRegistration.enabled` is enabled. diff --git a/.changeset/eleven-doors-own.md b/.changeset/eleven-doors-own.md index 8c83082b22..1da0297e5c 100644 --- a/.changeset/eleven-doors-own.md +++ b/.changeset/eleven-doors-own.md @@ -2,4 +2,4 @@ '@backstage/plugin-auth-backend': patch --- -Implementing Dynamic Client Registration with the OIDC server. You can enable this by setting `auth.experimental.enableDynamicClientRegistration` in `app-config.yaml`. This is highly experimental, but feedback welcome. +Implementing Dynamic Client Registration with the OIDC server. You can enable this by setting `auth.experimentalDynamicClientRegistration.enabled` in `app-config.yaml`. This is highly experimental, but feedback welcome. diff --git a/plugins/auth-backend/src/service/router.ts b/plugins/auth-backend/src/service/router.ts index d2790ff35c..0d5b26078d 100644 --- a/plugins/auth-backend/src/service/router.ts +++ b/plugins/auth-backend/src/service/router.ts @@ -164,7 +164,7 @@ export async function createRouter( httpAuth, enableDynamicClientRegistration: config.getOptionalBoolean( - 'auth.experimental.enableDynamicClientRegistration', + 'auth.experimentalDynamicClientRegistration.enabled', ) ?? false, }); diff --git a/plugins/mcp-actions-backend/src/plugin.ts b/plugins/mcp-actions-backend/src/plugin.ts index bcac77921c..d04df6cdf5 100644 --- a/plugins/mcp-actions-backend/src/plugin.ts +++ b/plugins/mcp-actions-backend/src/plugin.ts @@ -81,7 +81,7 @@ export const mcpPlugin = createBackendPlugin({ if ( config.getOptionalBoolean( - 'auth.experimental.enableDynamicClientRegistration', + 'auth.experimentalDynamicClientRegistration.enabled', ) ) { // This should be replaced with throwing a WWW-Authenticate header, but that doesn't seem to be supported by