# Authentication errors with Projects/HTTPS GitHub

**URL:** <https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013>\
**Category:** General\
**Created:** [1 August 2020 13:33 UTC](https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013 "2020-08-01T13:33:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![boskoe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/boskoe/32/13208_2.png) [@boskoe](https://discourse.nodered.org/u/boskoe)\
**Post date:** [1 August 2020 13:33 UTC](https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013/1 "2020-08-01T13:33:02Z")

</div>

Hi,

I'm using Node-Red 1.1.1 stand alone. I'm wanting to use projects and have actually managed to create it and push to HTTPS: GitHub once. A week later I wanted to push some changes and I get Authentication failed. I recreated the access token on GitHUB but now can't find any way to change the token in my Node-Red project.

![2020-07-31_09-42-51](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/7/0733314653fa93a3c39c67d95305d812b5e9e92d.jpeg)

Doug

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [1 August 2020 14:38 UTC](https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013/2 "2020-08-01T14:38:20Z")

</div>

Node-RED only stores Auth details in memory, so if you restart Node-RED it will prompt you for the Auth details the next time you try to interact with GitHub.

We have an open issue for a very similar scenario. We do manage to detect most cases where the Auth fails, but for some reason, this particular scenario isn't being caught.

---

<div class="post-metadata">

**Author:** ![boskoe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/boskoe/32/13208_2.png) [@boskoe](https://discourse.nodered.org/u/boskoe)\
**Post date:** [1 August 2020 14:43 UTC](https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013/3 "2020-08-01T14:43:58Z")

</div>

Thank you for your prompt answer. Not 5 minutes ago I found [On my Node-RED Project I typed the wrong GIT repository credentials and now it fails but wont ask for new credentials [SOLVED]](https://discourse.nodered.org/t/on-my-node-red-project-i-typed-the-wrong-git-repository-credentials-and-now-it-fails-but-wont-ask-for-new-credentials-solved/17618/2). After restarting node-red I am still having problems getting it to work.

Is there a way to go back to no projects and start again without losing flows?

Thanks

Doug

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [1 August 2020 14:51 UTC](https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013/4 "2020-08-01T14:51:08Z")

</div>

Just to clarify, you have restarted Node-RED and still get this error without having been promoted for any authentication credentials?

Why would you want to go back? You can still version control locally, and I suspect you'll be able to run `git push` manually in `~/.node-red/projects/<name-of-project>`.

---

<div class="post-metadata">

**Author:** ![boskoe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/boskoe/32/13208_2.png) [@boskoe](https://discourse.nodered.org/u/boskoe)\
**Post date:** [1 August 2020 14:59 UTC](https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013/5 "2020-08-01T14:59:21Z")

</div>

Sorry I wasn't clear. No after restarting Node-Red I am prompted for credentials.

My reason for going back to the state before project mode is to wipe the slate clean. To be honest I started making changes to resolve my problem that I've made a mess of it. I'd just like to start fresh.

Doug

---

<div class="post-metadata">

**Author:** ![boskoe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/boskoe/32/13208_2.png) [@boskoe](https://discourse.nodered.org/u/boskoe)\
**Post date:** [1 August 2020 15:38 UTC](https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013/6 "2020-08-01T15:38:19Z")

</div>

Nick,

Thanks for the command line information. It worked like a charm.

Really appreciated your help.

Doug

---

<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:** [30 September 2020 15:38 UTC](https://discourse.nodered.org/t/authentication-errors-with-projects-https-github/31013/7 "2020-09-30T15:38:34Z")

</div>

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