Cannot link to GitLab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I'm working Lab 3.4.1 of the Application Development Fundamentals On Demand course and I cannot link to GitLab. It is my own personal instance. I have tried several times and keep getting this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
17 hours ago
Are you supposed to use your own PDI and not a lab instance? It could be that you are missing config that is preloaded on lab instances.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
16 hours ago
No, when I said "my own personal instance" I was referring to GitLab, not ServiceNow. I am using the Lab instance of ServiceNow. It could be that the 2FA is presenting a problem. And to your point, I do have a PDI and found that there are some things that don' work the same, even though it's the same version as used in the course (Zurich).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
16 hours ago
No, I'm not using a PDI, I am using the lab instance. I could be that 2FA is interfering with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
15 hours ago
I found the solution to the problem. You have to create a Personal Access Token (PAT) in GitLab and use the token that is generated in place of the GitLab login password. I recommend the PAT route because GitLab doesn't always allow you to create project access tokens. So here are the instructions:
- In GitLab, click on your user avatar then select Edit profile.
- Select Access > Personal access tokens from the User settings menu.
- In the Personal access tokens sections click Generate token and select Legacy token from the drop-down.
- Give it a name (I just used ServiceNow) and give it these scopes:
Read APIRead Repository
Write Repository
API
- Be sure and copy that token once it's generated because you won't be able to see it again. Use that generated token in place of the password
