Azure AD integration error

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) 10.3
  • how is SonarQube deployed: zip
  • what are you trying to achieve: Implement SSO using Azure AD
  • what have you tried so far to achieve this,

AADSTS50011: The reply URL http://localhost/oauth2/callback/saml specified in the request does not match the reply URLs configured for (https://sonarqube.COMPANY.com/saml/.) Make sure the reply URL sent in the request matches one added to your application in the Azure portal. Navigate to Error AADSTS50011 - The reply URL specified in the request does not match the reply URLs configured for the application <GUID>. - Active Directory | Microsoft Learn to learn more about how to fix this.

Here the local host URL belong to SonarQube deployed as ZIP, in the EC2 instance. We have added load balancers that changed the URL to https://sonarqube..com/

In the Azure AD Configurations, we have added the https://sonarqube..com/ but while testing it gives the error with http://localhost/ URL (as per screenshot below). What could have gone wrong here?

Hi,

At a guess, you haven’t configured the Server base URL. Go to Administration & scroll down that first page to find it.

 
HTH,
Ann

Thank you.