With the code in trunk every web2py app is - by default - a CAS
service. To connect to from another app:

        from gluon.contrib.login_methods.cas_auth import
CasAuth
 
auth.define_tables(username=True)
 
auth.settings.login_form=CasAuth(
 
globals(),
            urlbase = "https://127.0.0.1:8000/otherapp/default/
user",
 
actions=['cas_login','cas_check','logout'])

Please help me test it.
Suggestions for improvement?

Massimo

Reply via email to