# Error sync gitlab auth group with sonarqube 9.9

**URL:** <https://community.sonarsource.com/t/error-sync-gitlab-auth-group-with-sonarqube-9-9/86070>\
**Category:** SonarQube Server / Community Build\
**Tags:** authentication\
**Created:** [March 16, 2023, 8:55pm UTC](https://community.sonarsource.com/t/error-sync-gitlab-auth-group-with-sonarqube-9-9/86070 "2023-03-16T20:55:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luis\_miguel\_gomez](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/luis_miguel_gomez/32/43186_2.png) [@luis\_miguel\_gomez](https://community.sonarsource.com/u/luis_miguel_gomez)\
**Post date:** [March 16, 2023, 8:55pm UTC](https://community.sonarsource.com/t/error-sync-gitlab-auth-group-with-sonarqube-9-9/86070/1 "2023-03-16T20:55:52Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)  
sonarqube 9.9 community
- how is SonarQube deployed:  
ec2 instance
- what are you trying to achieve  
I am trying to delegate authentication with gitlab and also I am trying to make it to work only with groups from my gitlab space.
- what have you tried so far to achieve this  
the guide indicated in the documentation was executed

1. the configuration in gitlab to create a oauth applicatión.
2. the configuration in sonarqube to add the secret and application id.
3. ther Server base URL in general tab.
4. enabled synchronize user groups  
 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/3/f/3fe83205a5e38ae3713447a5025a6f73eccc59c3.png)
5. created the group in sonarqube with the full path name of gitbal group.

the groups are not synchronizing and it does not allow authentication  
 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/5/a/5a0d338eeac5426ec751073ff39997da0aad88d9.png)

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 17, 2023, 8:18pm UTC](https://community.sonarsource.com/t/error-sync-gitlab-auth-group-with-sonarqube-9-9/86070/2 "2023-03-17T20:18:36Z")

</div>

Hi,

Welcome to the community!

Can you _temporarily_ bump your server logging up to `DEBUG` level, try logging in with Gitlab, and see what shows up in your `web.log` [server logs](https://docs.sonarqube.org/latest/setup/troubleshooting/)?

&nbsp;  
Ann
