Linking GitLab and ServiceNow

rzj
Giga Contributor

This page is the guide I'm following for source control configuration. I'm trying to link GitLab, but keep getting this error

find_real_file.png

I own the group and repo I am trying to link to, and created a personal access token with api access and used it as the password. I also tried using my regular GitLab password but that also failed. The group and project are both marked as Internal. Is there an extra step involved with GitLab that I am perhaps missing?

8 REPLIES 8

Thanks for responding. Based on a recommendation from ServiceNow Support, we abandoned GitLab. We are now using GitHub. However, we are still experiencing intermittent issues. Sometimes it works and sometimes it does not work (without us making configuration changes). Do you think it might be something specific to our various applications? We've raised multiple cases with ServiceNow. 

The current state of the issue for Github:

We have validated that the credentials are correct, and we have no issue logging into GitHub directly. Once logged into GitHub, we have both read and write access.

 Example of Error:

Community Alums
Not applicable

GitHub recently made a change that requires you to use an access token instead of your password when authenticating through an API. Here is some information on how to create a personal access token. Once you have the token, you will use the token in place of your GitHub password in ServiceNow. 

Authenticating to GitHub

I hope this helps.

Ben

Thanks! Using an access token with my personal account in an Oauth Basic authentication solved that problem for me!

@cynlink1 can you share any more info about the recommendation from ServiceNow Support? We are also looking into using GitLab. What should we know and/or be concerned about?