We are using ItFoxTec library for saml authentication. Federated login is working fine. Problem is with federated logout. scenario is like: We have two application named as mvcapp and singlepageapp(angular). When i click on login button on mvcapp, i redirect to my IDP login page and get back to mvcapp after authentication. There is a link of my singlepageapp on mvcapp . I click on that link, I already logged in IDP,so my api receive a saml token from IDP, api consume token and make a jwt token and redirect me to singlepageapp along with jwt token (Created using saml token) in query string.
Now user click on logout button from mvcapp, a logout request goes to IDP logout endpoint. IDP knows, that this user have logged in these two application and IDP have logout endpoint of these two application. Now IDP make a logout request for singalpageapp(logout endpoint is api endpoint).api doesn't have any cookie but singalpageapp have jwt token on browser. so my question is that, how api will delete jwt token. so that user is logout from both application.