Sonarqube saml sign on You're not authorized to access this page. Please contact the administrator

Sonarqube Developer edition -10.2

Im integrated sonarqube login to microsoft azure saml login,if i click on saml login button in login page im getting error You’re not authorized to access this page. Please contact the administrator,Can you give any idea.

Hi,

Check your server logs, specifically web.log. You may need to bump the logging level (temporarily!) up to DEBUG to see anything interesting.

 
HTH,
Ann

Thanks for your reply im findout web.log file this error is showing,Can you help on this?

WARN web[AYr0LbEi/nwmINDyAFZM][o.s.s.a.AuthenticationError] Fail to initialize authentication with provider ‘saml’
java.lang.IllegalArgumentException: Service provider certificate is missing

Hi,

That seems to be an error on the SAML side…?

 
Ann

sonarqube_web (19).log (24.8 KB)
Here i have attached the log please see that and help me.

Hi,

The log you’ve provided is incomplete and does not reflect the error you reported. Nonetheless, I think it’s a moot point since the error seems to be with your IdP, not with SonarQube.

 
Ann

Please see the attachd screenshot


In last im seen service provider private key missing error,privatekey format is pkcs8,How i will get pkcs8 format private key in azure active directory,I have pem file.

Hi,

It looks like you’ve shared screenshots of logs – and nobody in this Community likes to pretend they’re an optical character reader. In future, please copy/paste the text of your logs.

Regarding this case, sorry but configuring this on the Azure side is out of scope for this Community.

 
Ann