AAD plug-in help


(Rick Bond) #1

I have setup the AAD plugin according to the following guide (https://github.com/SonarQubeCommunity/sonar-auth-aad/blob/master/README.md) and it seems to have worked ok.

However I am getting the following error when trying to sign in.
"Sorry, but we’re having trouble signing you in.

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: “Correct App ID”.

I looked in the HTML header and the redirect url is http://localhost:9000/oauth2/callback/aad&____

But in Azure I have the redirect URL as Https://sonarqube.company.net/oauth2/callback.aad.

Were is the setting for the localhost:9000/oauth2/callback/aad reference?


(Rick Bond) #2

Figured it out,
Missed the first step were it states to set the Server base URL property must be set to this HTTPS URL either by setting the property from SonarQube administration page (General -> Server base URL) or through setting sonar.core.serverBaseURL key value in the sonar.properties file.

Thank you,

Rick