Issue
We were unable to fetch Gitlab users using the access token that was provided.
Resolution
There's a few possible reasons for this:
- The token does not have the read_user scope OR the token is expired
- In either case, since Gitlab doesn't allow you to view the details of a token after creation, we will have to recreate the token
- Head over to your Glean admin account and navigate to https://app.glean.com/admin/setup/apps
- Find your Gitlab datasource and navigate to its setup page
- Follow the instructions to create a new personal access token and save it
- Make sure to include the read_user api scope on the token as this is the scope that allows us to fetch user information using the personal access token
- If the above doesn't work, it's possible our crawler has networking issues in reaching your Gitlab instance. Please reach out to us at https://support.glean.com to resolve this.