When I try to login now using the SSO button, I get the error message “Hey!
Sorry, but we couldn’t verify your authorization to access this page.”
I have been back and revisited the guides numerous times and also checked out previous posts but as people get assistance from DM’s, there is no fix posted.
I have a feeling one part of my config could be slightly off, or one of the claims is incorrect.
Is anyone able to assist please?
Hello @Becky, welcome to our community!
I’m sorry to hear the SSO configuration guides weren’t as clear as they should be. We’ve received similar feedback recently, and I’m happy to share that a new, much simpler SSO configuration flow will soon be available on SonarQube Cloud.
If you’d like early access to test it out, just send me a DM with your enterprise key – I’d be happy to set that up for you.
In the meantime, I think the issue you’re facing is due to a failing group sync issue: please double-check that the groups attribute is properly configured in Entra ID with the correct mapping, and that the group names match exactly between Entra and SonarQube Cloud.
Hi Nour Thank you for your reply, very much appreciated.
I think I will pass on the offer to test out the new process. I need to keep the process as stable as possible so that I don not have to troubleshoot further if any issues are encountered.
As for the group sync issues, I believe the groups attribute is correct according to the documentation, certainly from the EntraID side anyway.
The only think I am unsure of is the SAML configuration on the SonarQube side.
In the Attributes & Claims section, select Edit to open the Attributes & Claims page. On this page:
Copy the Claim name (URL-type value) of the attribute used for Name to the SonarQube Cloud’s User Name Attribute.
Copy the Claim name (URL-type value) of the attribute used for Login to the SonarQube Cloud’s User Login Attribute.
Copy the Claim name (URL-type value) of the attribute used for Email to the SonarQube Cloud’s User Email Attribute.
I have tried simply the claim value (as I have seen this other peoples screenshots) and also the URL of the claim name which the above part of the guide seems to indicate is the correct way. But still no joy.