From 744d0c9c61b5834b6ab23009b6deaa012cc6b2de Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Fri, 30 Jan 2026 18:28:51 +0100 Subject: [PATCH] fix(mana-core-auth): remove non-existent id field from trusted client Co-Authored-By: Claude Opus 4.5 --- services/mana-core-auth/src/auth/better-auth.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 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 3e115e835..7b86f6a80 100644 --- a/services/mana-core-auth/src/auth/better-auth.config.ts +++ b/services/mana-core-auth/src/auth/better-auth.config.ts @@ -327,14 +327,12 @@ export function createBetterAuth(databaseUrl: string) { // These clients are considered first-party and don't need user consent trustedClients: [ { - id: 'matrix-synapse-client', clientId: 'matrix-synapse', clientSecret: process.env.SYNAPSE_OIDC_CLIENT_SECRET || '', name: 'Matrix Synapse', - icon: undefined, - metadata: {}, type: 'web', disabled: false, + metadata: {}, redirectUrls: ['https://matrix.mana.how/_synapse/client/oidc/callback'], skipConsent: true, },