GitHub Credentials

GitHub Credentials not “working”.

I am trying to integrate my GitHub account to n8n. Error is, that i am not getting a list of repository owners, or any output if i try and “get all” repos.
To solve this i have tried….

*GitHub App

  • Tried with github app, and giving access to my user.

OAuth2 App

  • As the docs suggest in n8n, i also tried with oauth2 as we also selfhost n8n.*

*Personal Access Token

  • Lastly i tried with personal access token and username, both visual username and e-mail.*

In n8n i get “connection established, success etc. etc.” Whenever i make new credentials, also confirming my github account.
But the github node still returns no list of repositories.

Please share your workflow

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
  • Try providing the repo name yourself and test if the step works out.
  • About it not listing out the existing repo list, I will suggest to observe the logs which you are clicking on that step, enable the DEBUG mode for the N8N if needed.

Hi @MikkelLehm

You need to type your Github username inside “Repository Owner” search field and then select it in order to fetch all the repositories from your Github account.

I have tested the Github node on my end:

Hope this answers your question. :slight_smile:

Thank you so much!

Works like a charm. Didnt register you had to type it manually, i just expected it would appear in the dropdown

1 Like

Glad that it worked out for you! Please don’t forget to mark the solution, it helps new users facing similar problems. Thanks! :slight_smile:

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