fix(mana-core-auth): add all required fields to trusted client config

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-30 18:27:33 +01:00
parent 4526123bbe
commit 01a2c78e39

View file

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