Try to return a redirect instead a 400 for "not logged in" state
authorRob Crittenden <rcritten@redhat.com>
Wed, 25 Mar 2015 21:29:22 +0000 (17:29 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Fri, 27 Mar 2015 18:43:26 +0000 (19:43 +0100)
commit83ac397cd5904cbbaa5a21adcac73815dda9fa63
tree8aa04ef6a057469f02cb8356a7c6a8601e3abefb
parent0f56ef9942ee631a9306806bea8f3bb8e7b81076
Try to return a redirect instead a 400 for "not logged in" state

If the user is not logged in and submits a valid logout request
then just redirect the user to the RelayState in the request
indicating that the logout was successful. This provides a better
user experience.

https://fedorahosted.org/ipsilon/ticket/88

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/providers/saml2/logout.py