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, },