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
1 changed files with 1 additions and 1 deletions

View File

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