The reply URL specified in the request does not match the reply URLs configured for the application

The reply URL specified in the request does not match the reply URLs configured for the application.

  • What Grafana version and what operating system are you using?
    centos 8 and Version 7.1.5 (commit: 9893b8c53d, branch: HEAD)

  • What are you trying to achieve?
    SSO

  • How are you trying to achieve it?
    Azure AD application registration and modification of grafana INI

  • What happened?

We get an error - AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application

  • Can you copy/paste the configuration(s) that you are having problems with?
    #################################### Azure AD OAuth #######################
    [auth.azuread]
    name = Azure AD
    enabled = true
    allow_sign_up = true
    client_id = d79e95c5-4d31-4023-a0ee-e018128a07d3
    client_secret = freY~Z7wsLF0-.LIC29~2w.95d-52RXKSu
    ;scopes = openid email profile
    auth_url = Sign in to your account
    token_url = Sign in to your account
    root_url = https://…
    ;allowed_domains =
    ;allowed_groups =

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No

  • Did you follow any online instructions? If so, what is the URL?
    grafana/latest/auth/azuread/