- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 01:14 PM
Hi,
I'm new to Servicenow, and i'm trying to link an app to a repo Github.
I have this message : "Repository authentication failed, check credentials. Make sure the user has both read and write access".
As shown in screenshots, I created my Credential towards Github, with a valid token.
I'm wondering a few things :
- is it normal than the password in the field, after updating credential, is shorter than the token length ?
- is the user name important when using a token ?
I specify than two factor authentication is not enabled in my Github account.
I also tried with "normal" authentication (user name and password), doesn't work neither.
I, please, really need help on this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 12:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 10:37 PM
Hello Miguel,
Thanks for the links. I checked every protocols and I, so far, don't see what's wrong.
Keep on searching.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 12:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 01:30 AM
Thanks a lot Sandeep,
I'm not sure why it works but it seems that it's ok by create a new fork and link to it.
Back to work now !
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 12:25 AM
Hi @kevin renault ,
I have exactly the same message and the same problems trying to connect the Github repo to ServiceNow. Did you connect successfully?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 01:17 AM
Hi Guys,
I managed to connect! I had to create a new account on GitHub. On a new account, I created a "personal access token (classic)" [IMPORTANT!] and used below configuration:
- Configure the New personal access token.Note: ServiceNow accessExpiration: No expirationSelect scopes: repo
- Copy your token to keep in a secure location.
When configuring a Credentials record to authenticate to source control, I entered my token in the Password field instead of my GitHub password.
[Source how to do it, you can find here: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-persona...
and here: https://developer.servicenow.com/dev.do#!/guides/sandiego/developer-program/github-guide/using-servi... ]