Node-RED Projects Credentials Authentication failed

I am helping a friend set up projects on the Windows device for Node-RED. He is running Node-RED V3.1.5 and we have projects enabled and have loaded git Bash. The editor now recognizes git but it is failing on the authentication portion.

/** By default, credentials are encrypted in storage using a generated key. To
 * specify your own secret, set the following property.
 * If you want to disable encryption of credentials, set this property to false.
 * Note: once you set this property, do not change it - doing so will prevent
 * node-red from being able to decrypt your existing credentials and they will be
 * lost.
 */
//credentialSecret: "a-secret-key",

We have uncommented the credentialSecret and set the value to false it still fails to authenticate.

Thanks in advance for advice.

After you uncommented credentialSecret: did you stop and then restart Node-RED?

Yes we did. However I have been on a call with the user and he figured it out. Git was defaulting to an online account. Once he changed that it started to work. He figured it out after he upgraded to Node-RED 4.x

Thanks for helping.

1 Like