Running version Version 8.6 (build 39681)
A user in our SonarQube on premise instance invalidated his GitLab access token that was being using by SonarQube to retrieve project information in order to set up new projects in SonarQube. I’ve tried finding a way to update the access token the SonarQube is using for this user but to no avail. Can you help point me in the right direction?
First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:
8.6 → 8.9.2 → 9.0.1 (last step optional)
You may find the Upgrade Guide helpful.
Regarding your actual question, I think you’ll need to delete your configuration (Administration → ALM Integrations → GitLab) and create a new one.
I’m going to try deactivating the user first and then if that doesn’t work I will delete and re-add the GitLab integration.
Deactivating the user worked (we’re using LDAP for authentication). When the user logged back in, he was required to reenter his GitLab access token when he tried to add a new project from GitLab.
Thanks for the follow up! I’m sure this will be helpful to others in the future.