Sonarqube with Keycloak

sonarqube
(Jonathan Velasco) #1

Hello everyone,

I was config Keycloak with Sonarqube, but when I trying access with de correct credencials, show menssge that i am not authorized to acces.

I just try to config one group to keycloak and only access to my sonarqube, maybe sonarqube dont soport grupos in keycloak to acces?

Regards!

not%20authorized

(Vinod Anandan) #2

@Jonathan_Velasco How did you integrate your SonarQube with Keycloak? Have you used this plugin = https://github.com/vaulttec/sonar-auth-oidc ? Did you follow the complete instruction in GitHub page? Please make sure that your JWT token have admin group claim (sonar-administrators).

1 Like
(Jonathan Velasco) #3

Hello @vinod

Ty for reply, yes I’m using that plugins and the configuration is complete, I follow the instruction and configuration is success.
I try to access specifif group in Keycloak to Only Sonarqube client, so i am trying to use this GitHub page: https://github.com/flytreeleft/sonar-auth-keycloak-plugin but im not sure if is depreacted or if now is available with sonarqube v7.6

Regards

(Julien Lancelot) #4

Hi @Jonathan_Velasco,

Which plugin are you using to authenticate with SAML ?

Regards,
Julien Lancelot

(Jonathan Velasco) #5

Hi @Julien ,

I m using this one https://github.com/vaulttec/sonar-auth-oidc
With Openid-concet client protocol

Regards

(Vinod Anandan) #6

@Jonathan_Velasco Could you please provide the screenshot of user group in Keycloak? Did you configured the user group in your SonarQube?

(Julien Lancelot) #7

Ok, I’m not aware of this plugin, I let the ones who know it to help you.

Regards,
Julien Lancelot