From c949f5d02ab7de9635193a1ae9221b60c57cadb9 Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Fri, 30 Jan 2026 18:28:06 +0100 Subject: [PATCH] fix(mana-core-auth): fix type compatibility for trusted client config Co-Authored-By: Claude Opus 4.5 --- services/mana-core-auth/src/auth/better-auth.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/mana-core-auth/src/auth/better-auth.config.ts b/services/mana-core-auth/src/auth/better-auth.config.ts index e55d0f1b4..3e115e835 100644 --- a/services/mana-core-auth/src/auth/better-auth.config.ts +++ b/services/mana-core-auth/src/auth/better-auth.config.ts @@ -331,8 +331,8 @@ export function createBetterAuth(databaseUrl: string) { clientId: 'matrix-synapse', clientSecret: process.env.SYNAPSE_OIDC_CLIENT_SECRET || '', name: 'Matrix Synapse', - icon: null, - metadata: null, + icon: undefined, + metadata: {}, type: 'web', disabled: false, redirectUrls: ['https://matrix.mana.how/_synapse/client/oidc/callback'],