Massimo, thanks.
Now, if I try the exposed login controller in my application, I'm
getting ticket with
id,email,name=session.token
TypeError: 'NoneType' object is not iterable
instead of login page being shown.
In CAS.login_url there is a http://localhost:8000/cas/cas/login, which
is correct - on this URL there a functional CAS login page sits.
Should I do something more in the application, than to
1) add unmodified cas.py to the models
2) set the CAS.login_url, CAS.check_url, CAS.logout_url and CAS.my_url
3) expose the login()
?
BTW the CAS.my_url contains link to the login() exposed above, I hope,
this is correct.
With regards,
David
mdipierro napsal(a):
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkn02UsACgkQ3oCkkciamVG2YQCgqQvX+LQx8LJ135T1ihlWfJ98
cbkAn2f+uOCP4/DrAwOs17Gg7jlUmev3
=x77y
-----END PGP SIGNATURE-----