# Any login to github fail

**URL:** https://discourse.nodered.org/t/any-login-to-github-fail/81405
**Category:** General
**Tags:** docker
**Created:** [17 September 2023 16:22 UTC](https://discourse.nodered.org/t/any-login-to-github-fail/81405 "2023-09-17T16:22:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Moosbueffel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/moosbueffel/32/36732_2.png) [@Moosbueffel](https://discourse.nodered.org/u/Moosbueffel)
#### Post date: [17 September 2023 16:22 UTC](https://discourse.nodered.org/t/any-login-to-github-fail/81405/1 "2023-09-17T16:22:05Z")

</div>

I hope someone can help me. I read [documentation](https://nodered.org/docs/user-guide/projects/#accessing-project-settings) and watched [video](https://www.youtube.com/watch?v=Bto2rz7bY3g&t=690s) from @knolleary and also read [discussion](https://discourse.nodered.org/t/unable-to-sync-with-github-v2-2-2-docker/59741) here.

I think, I have done all things right. First I tried https. I get a box for login and password. I wrote it right but dont get access. The same work in a browser, also a private browser shell, also here in Node-Red.

Than I generated a ssh-key like in the video and put it do my github. The same - no access. I also tried to clone my project -no access.

The error-message: **Authentication failed**

In the log-file there is nothing to see regarding this problem.

Many thanks

---

<div class="post-metadata">

### Author: ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)
#### Post date: [18 September 2023 10:50 UTC](https://discourse.nodered.org/t/any-login-to-github-fail/81405/2 "2023-09-18T10:50:16Z")

</div>

> [@Moosbueffel](#):
>
> I get a box for login and password

You need to create an access token on github. Enter this as your login, no password required.

---

<div class="post-metadata">

### Author: ![Moosbueffel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/moosbueffel/32/36732_2.png) [@Moosbueffel](https://discourse.nodered.org/u/Moosbueffel)
#### Post date: [18 September 2023 18:43 UTC](https://discourse.nodered.org/t/any-login-to-github-fail/81405/3 "2023-09-18T18:43:14Z")

</div>

Thanks @ghayne - it works!

But I don't understand, why ssh doesn't work. It' recommended from github to use this and not an access token. But for now it works for me :).

---

<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: [2 October 2023 18:43 UTC](https://discourse.nodered.org/t/any-login-to-github-fail/81405/4 "2023-10-02T18:43:30Z")

</div>

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