Redirecting default login page

Hi everyone.

I'm trying to create a login screen to my project, and i have tested too many ways to do it. For now, i'm just testing the default login screen (mybluemix.net/users) with the "is logged in" node from node-red-contrib-users.

Here's my question: That node uses "mybluemix.net/demo" with a HTTP[get] node, as you can see in the picture below. Is there any way to redirect the default login page(/users), when the login is done successfully, to "mybluemix/demo" url?

I'm using the Node-red on IBM Cloud. Thank you.

Hi Carlos and welcome to the forum.

I don't use Bluemix myself I'm afraid. Is the "is logged in" not working then?

I imagine that you would see some additional headers on the output of the http-in node if the user is logged in. So you might try adding a debug node to the output of the http-in node. Make sure you set the debug to show the whole msg. You might then need to tweak the settings to only show the headers if the output is too large for the debug sidebar to show all in one.

1 Like

Hi, TotallyInformation. Thanks for your reply.

I found the error: I was using my corporate network to access the IBM Cloud. Looks like the proxy has blocking some packages, I don't know what or why.

In my home, worked perfectly using the "/demo" url.

Thank you very much for your help.

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