Log In By CAS (Deprecated)¶
New in 2019: CAS is not recommend way for SSO. The third party Python library is not well maintained. SAML2 is much better.
Since Seafile-pro 6.3.0, Seafile supports CAS single-sign-on protocol.
NOTE: The support for CAS protocol is deprecated due to low maintenance of third-party library. Please use OAuth or SAML protocol.
Supposed you have a usable CAS service, and the service can be accessed by the
- Add the following lines in
ENABLE_CAS = True CAS_SERVER_URL = 'https://192.168.99.100:8443/cas/' CAS_LOGOUT_COMPLETELY = True # Uncomment following line if CAS server is using self-signed certificate #CAS_SERVER_CERT_VERIFY = False
- Restart the seahub
Now, you can login to Seafile web interface with CAS authentication. Please click the "Single Sign-on" on the Seafile's login page.