-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create a user permanently. #1
Comments
I have the same Issue. |
I'm having trouble on storing my created users.Every time I logout or close my node-red tab on the browser, all my storage of users and even the advanced settings gets lost, I can't access my login accounts. Is there a fix to this problem, maybe a file to secure this data? |
I'm having the same problem here, if i enable the NodeRED security all users disappear when the browser window is closed. Please someone can help us? |
same! |
There is an error in nodes/users_config.html: error: $.getJSON('/credentials/users_config/'+globalUserConfigNode.id, function (data) { |
Another important thing to do is: npm install body-parser and add in users.js at line 116 var bodyParser = require('body-parser'); app.use(bodyParser.json()); |
Adding fix suggested by: @solvisit in issue: SenseTecnic#1 This closes SenseTecnic#1
Adding fix suggested by: @solvisit in issue: SenseTecnic#1 This closes SenseTecnic/issues/1
Apologies for the extreme delay on this reply. Thank you for the suggestions. The fix has been applied in the latest NPM version. |
I'm using Node-Red v0.18.7. I tried out node-red-contrib-users with the "Example flow" provided on the README.md. I tried the below senario couple of times. I try to create a user with "admin" scope. Although initially it seems to be created in the white list at the user config tab, it gets lost after a browser refresh. "IsLoggedIn" node doesn't recognize the username and password after trying them out at the login page at "/demo" endpoint. "IsLoggedIn" node gives an Unauthorized error.
Then I set the Base URL path to "/users" from the advanced settings of user config tab. I try the same username and password at the login page at "/users" endpoint. This time username & password is recognized and I can log in. However on the resulting page the "username" and "scope" is empty though as I stated previously scope's been created as "admin". Please find the image below.
I would prefer not to post this as an issue but a question since above stated may be the result of my own misusage of the node. I couldn't find a proper channel to ask for questions related to the node. I apologize in advance if this is an inconvenience.
The text was updated successfully, but these errors were encountered: