You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using node-sspi module for implementing windows authentication and its working fine but I can't find a way to logout the from current session until unless I close the browser. Is it possible to logout without closing the browser, if yes then how can we implement it. Any help would be appreciated.
Thank You
The text was updated successfully, but these errors were encountered:
You can do it by using a express session. Thus you do not need to use the authentication middleware on all url, but just on a SSO login url. You then store the auth info in req.session.sso object.
Thus, you can perform a logout by removing the req.session.sso object.
DISCLAIMER: I am the author of a very similar module, called node-expose-sspi. And I provide some examples that do exactly what you are looking for. https://github.com/jlguenego/node-expose-sspi
Hi, I am using node-sspi module for implementing windows authentication and its working fine but I can't find a way to logout the from current session until unless I close the browser. Is it possible to logout without closing the browser, if yes then how can we implement it. Any help would be appreciated.
Thank You
The text was updated successfully, but these errors were encountered: