on 2019 Apr 26 4:20 AM
hi team we integrate dour storefront with okta for single sign on based on requirement we are able to successfully login into hybris application but while doing logout the saml cookie which is created during login time is not getting deleted from browser hense log out is not working
we added logic to delete saml token in LogOutsuccesshandler but still its not working
we are using OOB logic to delete cookie if nay one faced this issue plz help us
public static void eraseSamlCookie(final HttpServletResponse response) { final String cookieName = Config.getParameter(AssistedservicefacadesConstants.SSO_COOKIE_NAME); System.out.println("cookie name" + cookieName); if (cookieName != null) { final Cookie cookie = new Cookie(cookieName, ""); cookie.setMaxAge(0); cookie.setPath("/"); cookie.setHttpOnly(true); cookie.setSecure(true); response.addCookie(cookie);
}
}
Request clarification before answering.
Hi, did this work? We are facing the same issue. Kindly suggest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.