We are using CE 10.0 and deployed in GKE cluster using helm chart.
what are you trying to achieve
We have integrated the okta sso per instructions mentioned here and on sonarqube SAML setting we don’t see the option where can see SAML group attribute.
Is there any special setting we need to enable to see the SAML group attribute while configuring the SAML settings.
Also we have created the groups in sonarqube which aligns with the group naming format in OKTA groups.
We can see the OKTA SAML login enabled but group sync is not happening.
Is there anything I’m missing to get the group sync done.
Thanks for the reply and the attached information.
As per the workaround mentioned here I’ve generated the web tokens for the admin user and when I tried to do the POST call (using the generated web token) I see 401 in the sonar access logs. Same with GET as well.
Also I did tried with GLOBAL type token and user token, but still I am seeing the same 401 in the sonar logs.
Below attaching the sample log line from sonar access log while executing POST call.
But I am still having the warnings saying * Mapping not found for the property sonar.auth.saml.group.name, the field group_attribute_value is not available in the SAML response.
fyi Below is what we have in okta saml settings per instructions here
I’ve realized that you are literally using group_attribute_value in your curl request, instead of the actual group attribute value, in your case, groups.
I would suggest setting the setting again via curl, this time actually supplying value=groups instead of the placeholder value=group_attribute_value