# Node-RED Projects Credentials Authentication failed

**URL:** <https://discourse.nodered.org/t/node-red-projects-credentials-authentication-failed/93012>\
**Category:** General\
**Created:** [9 November 2024 18:21 UTC](https://discourse.nodered.org/t/node-red-projects-credentials-authentication-failed/93012 "2024-11-09T18:21:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mick](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mick/32/80990_2.png) [@Mick](https://discourse.nodered.org/u/Mick)\
**Post date:** [9 November 2024 18:21 UTC](https://discourse.nodered.org/t/node-red-projects-credentials-authentication-failed/93012/1 "2024-11-09T18:21:22Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/2/e2dcdb3c644c3dd8ae315f9956f49e3ec67c766e.png)

> ```
> /** 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.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 November 2024 19:57 UTC](https://discourse.nodered.org/t/node-red-projects-credentials-authentication-failed/93012/2 "2024-11-09T19:57:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mick](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mick/32/80990_2.png) [@Mick](https://discourse.nodered.org/u/Mick)\
**Post date:** [9 November 2024 20:52 UTC](https://discourse.nodered.org/t/node-red-projects-credentials-authentication-failed/93012/3 "2024-11-09T20:52:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 November 2024 20:53 UTC](https://discourse.nodered.org/t/node-red-projects-credentials-authentication-failed/93012/4 "2024-11-23T20:53:28Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
