Posts: 4
Threads: 2
Joined: Jan 2020
Reputation:
0
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
Sailing B473 in Belgium, Europe and Caribean
Posts: 31
Threads: 2
Joined: Mar 2016
Reputation:
1
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
Posts: 4
Threads: 2
Joined: Jan 2020
Reputation:
0
2020-04-24, 12:36 PM
(This post was last modified: 2020-04-24, 12:38 PM by bartdehondt.)
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
Sailing B473 in Belgium, Europe and Caribean
Posts: 135
Threads: 12
Joined: Jun 2017
Reputation:
4
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
Posts: 4
Threads: 2
Joined: Jan 2020
Reputation:
0
(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
Sailing B473 in Belgium, Europe and Caribean
Posts: 187
Threads: 3
Joined: Mar 2016
Reputation:
3
2020-04-26, 11:46 AM
(This post was last modified: 2020-04-30, 12:32 AM by holgerw.)
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....
Posts: 239
Threads: 45
Joined: Mar 2018
Reputation:
1
Seems solved by default in newest signalk and node-red webapp version.
Posts: 31
Threads: 3
Joined: Jan 2020
Reputation:
2
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)
███ - SV Haimana
Posts: 239
Threads: 45
Joined: Mar 2018
Reputation:
1
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.