NeedIt app import problem - "Repository authentication failed, check credentials. Make sure the user has both read and write access"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2021 06:45 AM
Hey everyone,
I'm trying to complete the ATF course on developer.servicenow.com, and I just can't import the NeedIt Application described on this page: Exercise: Fork Repository and Import Application for the Using the Automated Test Framework Module
I've already read similar posts on this forum, found no solution for it so far.
What I did:
1. Opened github, forked the NeedIt application.
2. Created a new personal token - gave read & write access.
3. Created a new Credentials entry - Basic Auth Credentials:
- User name: my github username (tried with github email address as well, no success)
- Password: token from step 2 (tried with my github account password as well, no success)
4. Entered Studio > Import From Source Control:
- Network protocol: https
- URL: the clone URL from the newly forked github repo (tried with and without the .git at the end)
- Branch: main
- Credential: the one made in step 3
5. Hit the Import button
The above described tries all yielded the same result: when the status bar reached 57%, it returned "Repository authentication failed, check credentials. Make sure the user has both read and write access".
Is there something I'm missing, or is there a bug I'm not aware of?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 10:50 AM
Hi Maik,
I have been having the same issue. I did everything that you described as above, but unfortunately nothing is working. Any tips on how to get it solved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2022 08:09 AM
I recently wrote a 'ServiceNow Pro Tips' article on this, which teaches you:
1. How to change which GitHub / repository your ServiceNow application in Studio
2. How to update your GitHub repo credentials in ServiceNow
3. How to generate ECDSA SSH keys and link your ServiceNow application with GitHub using SSH (including the new GitHub rule against using insecure RSA keys) - since GitHub no longer supports basic auth or RSA SSH keys
4. How to generate/link your SSH API key-pair with GitHub and ServiceNow, using your public/private keys
You can see the full article with detailed step-by-step instructions, here:
https://snprotips.com/blog/2022/3/4/how-to-change-servicenow-applications-repositoryurl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2022 09:40 AM
Hi,
I am facing the same issue. I followed your article here:. I tried creating SSH key. But not sure how to copy public and private key while generating keys in ECDSA algorithm. It seems to have lot of options and I dont know what to copy.
Please can you help me on this?