OpenMarine

Full Version: Remove Nodered login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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
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
You could try with an url like http://openplotter.local@password/Index.html
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
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
(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
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....
Seems solved by default in newest signalk and node-red webapp version.
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)
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.
Pages: 1 2