Open narutobaka opened 4 years ago
Hi,
I find the way to get the answer of my CAS server
in def _internal_verify_cas(ticket, service, suffix): function :
try:
response = page.read()
tree = ElementTree.fromstring(response)
document = minidom.parseString(response)
import pickle
xml_str = ElementTree.tostring(tree).decode()
fichier=open('path to debug file','a')
fichier.write(xml_str )
fichier.close
The CAS response are in path to debug file
thx
Hi
I'm working on installation of this git project : https://github.com/EsupPortail/Esup-Pod This project use django-cas-client 1.5.2. I encounter some problems with CAS Auth configuration.
In order to debug I'm looking for a way to get the CAS_RESPONSE_CALLBACKS tree value.
What the best way to do get the tree value return by my CAS server?
If i understand well, in this project in settings.py, I have :
This call the function populateUser in pod/authentication/populatedCASbackend.py :
I try to put raise Exception(tree) in order to force django to show me the tree value in browser, but seems doesn't work.
What the best way to get value of tree CAS_RESPONSE_CALLBACKS ?
cordialy,