jquery-pjax
jquery-pjax copied to clipboard
PJAX + ADFS?
If a user becomes logged out, following PJAX links does not respect the 302 redirect to the SAML provider's login page - what solution are people using for this?
This is what I'm doing right now, but let me know if there's something built in to handle this (using MS MVC and ADFS)
$(document).on("pjax:end", function (event, options) {
if (event.getResponseHeader("location")) {
window.location = event.getResponseHeader("location");
}
});