Sonarqube SAML integration with AAD

Hi Team,

We are using SonarQube Enterprise Edition with Version 8.9.7 LTS and trying to integrate it with SAML for authentication we have configured all the details as per the documentation and we are getting errors like

  • You’re not authorized to access this page. Please contact the administrator. Reason: The response was received at http://localhost:9000/oauth2/callback/saml instead of https://****.com/oauth2/callback/saml.

Could you please help me out?

Hi,

Have you configured your Server base URL (Administration → General → Server base URL). This is one of the very few UI-based settings where I think you need to restart for it to fully kick in, BTW.

 
HTH,
Ann

Hi @ganncamp

Yes, it is configured and I did a restart too

Hi,

Is there a proxy in the mix? And if so, which one?

 
Ann

Hi @ganncamp ,

Nikhil is working on my team.

The IIS server is running and it is public-facing and it routes traffic to the [http://localhost:9000/]

Do we need to make any changes on that side? Please help us on priority as it is hampering our productivity on the project side.

Hi @AmolKhanorkar,

Welcome to the community!

I’m not a SAML expert. This guide may help.

 
ann

Thanks @ganncamp for the doc. I have tried it but getting another error now.

Hi,

Feel free to create a new thread for your new error.

 
Ann

I have resolved it now. We can close this thread.

Thanks Ann!