OpenMarine
Remove Nodered login - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Node Red (https://forum.openmarine.net/forumdisplay.php?fid=15)
+--- Thread: Remove Nodered login (/showthread.php?tid=2520)

Pages: 1 2


Remove Nodered login - bartdehondt - 2020-04-21

Hello,

I have several dashboards under nodered embedded to visualise some sensors on the boat.

To make the dashboard more userfriendly and foolproof  I want to remove authentication from the dashboard.
Any idea how to do this 

Many thanks
Bart


RE: Remove Nodered login - dione - 2020-04-21

I have the same question. I would like to be able to disable the node-red password when the dashboard opens and if possible keep the password in flow editing.

it's possible?

Saludos


Remove Nodered login - holgerw - 2020-04-23

You could try with an url like http://openplotter.local@password/Index.html


RE: Remove Nodered login - bartdehondt - 2020-04-24

I found this settings.js file
/home/pi/.signalk/node_modules/node-red/settings.js

Normally her you can disable the authentication but the authentication part is diabled.
Maybe we have to look into Signal K authentication.

(2020-04-23, 05:42 PM)holgerw Wrote: You could try with an url like http://openplotter.local@password/Index.html

This is not working


RE: Remove Nodered login - Opie91 - 2020-04-24

Just change the sign in option in signalK to "365d" for a year and then you will not have to log on each time.

Had the same issue. Changing it to 365d took care of it for me


RE: Remove Nodered login - bartdehondt - 2020-04-25

(2020-04-24, 04:59 PM)Opie91 Wrote: Just change the sign in option in signalK to "365d" for a year and then you will not have to log on each time.

Had the same issue. Changing it to 365d took care of it for me

I changed this now to 365 days. Not the best solution but for now this will do the job.

Thank you


Remove Nodered login - holgerw - 2020-04-26

Hello Bart

my URL was a little wrong, the correct with PASS & USER is like this:
http://username:password@website

of course this is unsecure as it is cleartext.
maybe at som sites you could use an hashed password also = bit more secure

good luck - holger

Just checked again, this will work only with simple Webservers. For nodered Dashboard you have to Login at Server:3000 first. Maybe there at the login it will work with the URL....


RE: Remove Nodered login - jamos.tan@gmail.com - 2021-01-31

Seems solved by default in newest signalk and node-red webapp version.


RE: Remove Nodered login - sebba - 2021-02-05

not really, at least for me... running latest version, 1.37.6
I cannot access .../redApi/ui without login into signalk first (and only for admin accounts)


RE: Remove Nodered login - jamos.tan@gmail.com - 2021-02-05

Oh man, sorry my bad. I misjudged the "remember me" function in the log-in page.
It made sure I was logged in even after the Pi rebooted, and so I could use the redApi/ui
Sorry for the mistake.