nitmir / django-cas-server

A Django Central Authentication Service server implementing the CAS Protocol 3.0 Specification
GNU General Public License v3.0
132 stars 44 forks source link

Display an error message on bad response from identity provider in federate mode #7

Closed nitmir closed 8 years ago

nitmir commented 8 years ago

Currently, if the identity provider CAS do not return an XML document as specified on ticket validation, an XML parsing error is raised.

We should catch such error and display to the user that there is a problem with the response of his CAS identity provider.