# Dashboard + login

**URL:** https://discourse.nodered.org/t/dashboard-login/15406
**Category:** Dashboard
**Created:** [11 September 2019 10:05 UTC](https://discourse.nodered.org/t/dashboard-login/15406 "2019-09-11T10:05:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![gkwsystem](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@gkwsystem](https://discourse.nodered.org/u/gkwsystem)
#### Post date: [11 September 2019 10:05 UTC](https://discourse.nodered.org/t/dashboard-login/15406/1 "2019-09-11T10:05:21Z")

</div>

Hello, I have the following flow to control a login. I am based on the following node-red-contrib-users tool. But I need to connect this type of login system with node-red-dasboard, how can I do this?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/2ddef5c2b8b0b16765b1e6fa680bda4d65dd9732.png)

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [11 September 2019 10:10 UTC](https://discourse.nodered.org/t/dashboard-login/15406/2 "2019-09-11T10:10:23Z")

</div>

Probably a question to ask the author of the contrib node you are using on the nodes github page...

> [@gkwsystem](#):
>
> node-red-contrib-users

---

<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: [11 September 2019 10:18 UTC](https://discourse.nodered.org/t/dashboard-login/15406/3 "2019-09-11T10:18:53Z")

</div>

@gkwsystem questions like this get asked quite often.

The fact is there is no easy way to build multi-user authentication into the dashboard.

I'm sure if/when someone figures out the sort of integration you are trying to do, they will share it here or on the flow library and it will be widely linked to and celebrated. But, to my knowledge, that hasn't happened yet.

---

<div class="post-metadata">

### Author: ![gkwsystem](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@gkwsystem](https://discourse.nodered.org/u/gkwsystem)
#### Post date: [11 September 2019 11:00 UTC](https://discourse.nodered.org/t/dashboard-login/15406/4 "2019-09-11T11:00:15Z")

</div>

I believe it to be indifferent. I can change my question. If I have a GET / POST request, how do I redirect to a node-red-dashboard.

---

<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: [11 September 2019 11:22 UTC](https://discourse.nodered.org/t/dashboard-login/15406/5 "2019-09-11T11:22:59Z")

</div>

To redirect in response to a login, you should set `msg.statusCode` to `303` and set `msg.headers` to `{ "Location": "url of your dashboard"}` before passing the message to the HTTP Response node.
