# Login redirection

**URL:** <https://discourse.nodered.org/t/login-redirection/27360>\
**Category:** General\
**Created:** [27 May 2020 08:02 UTC](https://discourse.nodered.org/t/login-redirection/27360 "2020-05-27T08:02:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamratChaudhuri](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/samratchaudhuri/32/22777_2.png) [@SamratChaudhuri](https://discourse.nodered.org/u/SamratChaudhuri)\
**Post date:** [27 May 2020 08:02 UTC](https://discourse.nodered.org/t/login-redirection/27360/1 "2020-05-27T08:02:39Z")

</div>

I am trying to navigate to a page after the user successfully logs into the login page.  
How can I do that?

---

<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:** [27 May 2020 08:26 UTC](https://discourse.nodered.org/t/login-redirection/27360/2 "2020-05-27T08:26:04Z")

</div>

Hi @SamratChaudhuri

do you mean the login page of the Node-RED editor? There is no option to redirect to another page - it's a login for the editor, so takes you to the editor.

What are you trying to do?

---

<div class="post-metadata">

**Author:** ![SamratChaudhuri](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/samratchaudhuri/32/22777_2.png) [@SamratChaudhuri](https://discourse.nodered.org/u/SamratChaudhuri)\
**Post date:** [27 May 2020 08:28 UTC](https://discourse.nodered.org/t/login-redirection/27360/3 "2020-05-27T08:28:53Z")

</div>

So I am basically uploading my ML Project on Node red.  
I need a registration page where the user is going to register.  
A login page from where he will login  
And the after successfully logging in he'll be redirected to a page where he can feed data in the provided database or check results if he wishes to...  
Is that possible?

---

<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:** [27 May 2020 08:33 UTC](https://discourse.nodered.org/t/login-redirection/27360/4 "2020-05-27T08:33:46Z")

</div>

It sounds more like you are building an application with Node-RED, and the login you want is related to your application and _not_ the Node-RED editor itself... is that right?

If so, you can create whatever HTTP routes giving whatever HTTP responses you need to create a web app.

Where have you got to so far?

---

<div class="post-metadata">

**Author:** ![SamratChaudhuri](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/samratchaudhuri/32/22777_2.png) [@SamratChaudhuri](https://discourse.nodered.org/u/SamratChaudhuri)\
**Post date:** [27 May 2020 08:38 UTC](https://discourse.nodered.org/t/login-redirection/27360/5 "2020-05-27T08:38:16Z")

</div>

Yes...I'm trying to build a web application.  
I have knowhow of the ML Model. I can build it. I can build a login page and input page too and connect to database.  
It's the redirection I need some help with...I'm not well versed with html and can't understand how to use template to connect my login page to the result or input page.

---

<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:** [26 July 2020 08:38 UTC](https://discourse.nodered.org/t/login-redirection/27360/6 "2020-07-26T08:38:23Z")

</div>

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