# Editor Log-in/Log-out and questions regarding users

**URL:** <https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920>\
**Category:** General\
**Created:** [6 October 2021 13:10 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920 "2021-10-06T13:10:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [6 October 2021 13:10 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920/1 "2021-10-06T13:10:26Z")

</div>

Dear Sirs:

1. When Logging into Nod-RED editor, I noticed if I do not log out, and just close the browser, I'm still logged in. When I open up the URL again it was logged in still. Is there anything I can do to force the editor to log out? Or will this need to be an added feature to always force the login page if there is security enabled? Or an option to work in both ways?

2. Can Node-RED editor use Windows user Groups? Windows Active Directory logins?

Kind Regards,

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [6 October 2021 14:04 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920/2 "2021-10-06T14:04:25Z")

</div>

There is not currently any option to limit the login session to the browser session. But this isn't the first time it has come up - I'll see if we can add something in the imminent 2.1 release.

> [@tree-frog](#):
>
> Can Node-RED editor use Windows user Groups? Windows Active Directory

The adminAuth configuration is pluggable, so custom code can be added to validate users.

So in theory it would be possible to link with Windies groups, but I'm not aware of anyone having done so.

The security page in the docs talks about custom authentication schemes.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [6 October 2021 14:12 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920/3 "2021-10-06T14:12:08Z")

</div>

Nick,  
Thanks for the quick response.

And thanks for pointing me to the Security Page.

If anyone else has success in Windows Groups or Active Directory please post.

Also if anyone has keyword or a post here I have not found, please kick it my way.

Kind Regards,

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [6 October 2021 20:09 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920/4 "2021-10-06T20:09:27Z")

</div>

> [@tree-frog](#):
>
> Also if anyone has keyword or a post here I have not found, please kick it my way.

[https://www.google.com/search?q=passport+windows+authentication](https://www.google.com/search?q=passport+windows+authentication)

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [7 October 2021 13:58 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920/5 "2021-10-07T13:58:31Z")

</div>

Are you referencing [passport-windowsauth](http://www.passportjs.org/packages/passport-windowsauth/) ? (Asking anyone who reads this) Have you used it and interfaced with Node-RED editor Login?

Thanks !

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [7 October 2021 15:42 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920/6 "2021-10-07T15:42:40Z")

</div>

Sorry, not actually needed to use Windows auth I'm afraid.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [7 October 2021 15:59 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920/7 "2021-10-07T15:59:59Z")

</div>

Julian,  
It's OK. You've actually helped me to ask a better question.. and search criteria for the "Passport" and I found a bunch of entries regarding "passportjs". I also need to engage these posts for better understanding on how to use it if there is information therein. I'm currently reading through passport-windauth page for informaiton.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 December 2021 16:00 UTC](https://discourse.nodered.org/t/editor-log-in-log-out-and-questions-regarding-users/51920/8 "2021-12-06T16:00:32Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
