Synapse supports authenticating users via the Central Authentication Service protocol (CAS) natively.
Please see the cas_config and sso sections of the configuration manual for more details.