From 01a2c78e396578d63683b4a1d90e6c64858c24d3 Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Fri, 30 Jan 2026 18:27:33 +0100 Subject: [PATCH] fix(mana-core-auth): add all required fields to trusted client config Co-Authored-By: Claude Opus 4.5 --- services/mana-core-auth/src/auth/better-auth.config.ts | 5 +++++ 1 file changed, 5 insertions(+) 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 6d618fe1a..e55d0f1b4 100644 --- a/services/mana-core-auth/src/auth/better-auth.config.ts +++ b/services/mana-core-auth/src/auth/better-auth.config.ts @@ -327,9 +327,14 @@ 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: null, + metadata: null, + type: 'web', + disabled: false, redirectUrls: ['https://matrix.mana.how/_synapse/client/oidc/callback'], skipConsent: true, },