You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I think it could be useful to let the user perform an external authentication and provide his own token to the node.
Otherwise he should be allowed to provide username and password and the node should perform an authentication (if it is not yet connected).
This will prevent the user to be able to browse the datalayer but it could be useful to avoid errors when node-red starts before the ctrlX and the authentication will fail.
It could be also useful if the user will want to insert his credentials in a form.
I think the user should be able to:
provide credentials via the node frontend (actual solution)
provide credentials via msg (e.g.: msg.username and msg.password)
deal externally with the authentication and provide his token (e.g.: via msg.authToken)
I provide an example (just a simple subflow) of my idea: flows.zip
Thanks and best regards
The text was updated successfully, but these errors were encountered:
This will prevent the user to be able to browse the datalayer but it could be useful to avoid errors when node-red starts before the ctrlX and the authentication will fail.
Actually that is a bug, that should be handled with the upcoming version 1.8.2. Authentication will wait until server is available or re-authenticate when connection is lost.
I think the user should be able to:
* provide credentials via msg (e.g.: msg.username and msg.password)
* deal externally with the authentication and provide his token (e.g.: via msg.authToken)
I understand your use-case. Although I'm not so happy about storing readable passwords in the flow. But as far as I can imagine your intention is mainly about injecting the username and password from the UI dashboard?
So let's say I will add support to provide these settings via the input msg, then these credentials will only be effective for this node but not update the settings in the config node. Does this meet your expectation?
Hello,
yes that is exactly the use case I was thinking about. The user could provide his credentials from a UI object, and that will have the priority on the settings on the config node (for example left empty) and will not update them.
I agree on not storing readable passwords in the flow.
With this enhancement we could allow different users with different permissions and avoiding to set the credentials directly in the node config.
Hello,
I think it could be useful to let the user perform an external authentication and provide his own token to the node.
Otherwise he should be allowed to provide username and password and the node should perform an authentication (if it is not yet connected).
This will prevent the user to be able to browse the datalayer but it could be useful to avoid errors when node-red starts before the ctrlX and the authentication will fail.
It could be also useful if the user will want to insert his credentials in a form.
I think the user should be able to:
I provide an example (just a simple subflow) of my idea:
flows.zip
Thanks and best regards
The text was updated successfully, but these errors were encountered: