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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user