it seems that SLO requests need to be in logoutRequest POST params

cf phpCAS official implementation
This commit is contained in:
Valentin Samir 2015-06-04 14:39:36 +02:00
parent 603b4a8063
commit f1fbdd3653

View File

@ -345,7 +345,7 @@ class Ticket(models.Model):
try: try:
return session.post( return session.post(
self.service.encode('utf-8'), self.service.encode('utf-8'),
data=xml.encode('utf-8'), data={'logoutRequest':xml.encode('utf-8')},
headers=headers headers=headers
) )
except Exception as error: except Exception as error: