Hi, We're using the Proxy Ticket for REST calls in a client application and send requests using AJAX.
As you guys know when a user is logged out and tries to access any area protected by CAS he's redirected to CAS login page. But the problem is that when sending requests using AJAX the browser isn't redirected to CAS login page since the request is happening behind the scene using AJAX. Thought we could catch the 302 response returned by CAS client but the final response in the sequence returns a valid response with the status code 200. If it's a sort of AJAX error then we could handle it properly but the response and the status code is literally normal. I wonder if any of you guys have something to share about how to handle the AJAX request and response on UI in case a user's logged out. Would appreciate if anyone share some useful experience. Thank you in advance. David -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/0a46c455-89c4-465d-9795-67230b84869c%40apereo.org. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
