So when I login on the API "/auth/login" and after that, I logout "/saml/logout" everything works as expected. The problem only exists when redirecting is involved of some sort.
Im putting the following urls in the browser:
localhost:3000/auth/login => localhost:3000/saml/logout
--> Works
localhost:3000/auth/login => localhost:3000/logout => localhost:3000/saml/logout
with following config:
http.logout().clearAuthentication(false).logoutSuccessUrl("/saml/logout");
--> Doesn't work
From frontend:
localhost:4200/ => localhost:3000/auth/login => localhost:4200
localhost:4200/ => localhost:3000/saml/logout
--> Doesn't work
I when it works, it sends a saml LogoutRequest to the idp, when it doesn't, only a local logout is performed.
So when I login on the API "/auth/login" and after that, I logout "/saml/logout" everything works as expected. The problem only exists when redirecting is involved of some sort.
Im putting the following urls in the browser:
I when it works, it sends a saml LogoutRequest to the idp, when it doesn't, only a local logout is performed.
You guys have any idea?