Disable local passwords in MAS Synapse

Otherwise we'll get the following error upon Synapse startup: Password auth cannot be enabled while OAuth delegation is enabled.
This commit is contained in:
Andrew Morgan
2026-02-05 14:04:37 +00:00
parent 7c62578252
commit 1b3243cb00
@@ -195,6 +195,10 @@ const masTest = base.extend<
endpoint: `${MAS_INTERNAL_URL}/`, endpoint: `${MAS_INTERNAL_URL}/`,
secret: MAS_SHARED_SECRET, secret: MAS_SHARED_SECRET,
}, },
// Must be disabled when using MAS.
password_config: {
enabled: false,
},
} as Partial<SynapseConfig>) } as Partial<SynapseConfig>)
.withMatrixAuthenticationService(guestMas) .withMatrixAuthenticationService(guestMas)
.withNetwork(network) .withNetwork(network)