Commit f1fbdd36 authored by Valentin Samir's avatar Valentin Samir

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

cf phpCAS official implementation
parent 603b4a80
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment