it seems that SLO requests need to be in logoutRequest POST params
cf phpCAS official implementation
This commit is contained in:
parent
603b4a8063
commit
f1fbdd3653
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user