Hi, I’ve been trying to get Azure Active Directory Authentication to work and I’ve followed all the steps in
http://docs.grafana.org/installation/configuration/#set-up-oauth2-with-azure-active-directory
While I am getting the option to sign in with AAD at the login page, I’m getting the following error:
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: ‘xxx’
Where xxx is application id of the grafana app that I registered in step 3 in the link.
Upon investigating, I found that the reply URL is https://grafana domain/login/generic_oauth in the AAD as it should be, however I noticed that the Request URL on the error page (obtained by pressing F12) contained a redirect_uri=http%3A%2F%2Flocalhost%3A5000%2Flogin%2Fgeneric_oauth
Is this the cause of the issue? Should the redirect_uri instead be http://grafana domain/login/generic_oauth rather than localhost?
If so how do I change the redirect_uri and if not, what could be the cause of this issue?
I am using Grafana 5.1