jquery-pjax icon indicating copy to clipboard operation
jquery-pjax copied to clipboard

PJAX + ADFS?

Open catmanjan opened this issue 6 years ago • 1 comments

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?

catmanjan avatar Sep 04 '17 02:09 catmanjan

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");
    }
});

catmanjan avatar Sep 04 '17 02:09 catmanjan