This documentation site is for the versions of Synapse maintained by the Matrix.org Foundation (github.com/matrix-org/synapse), available under the Apache 2.0 licence.
Modify your homeserver.yaml to enable CAS and point it to your locally
running Django test server:
cas_config:enabled:trueserver_url:"http://localhost:8000"service_url:"http://localhost:8081"#displayname_attribute: name#required_attributes:# name: value
Restart Synapse.
Note that the above configuration assumes the homeserver is running on port 8081
and that the CAS server is on port 8000, both on localhost.