Grafana and Azure Active Directory (AAD)

I’d like to use Grafana (4.5.2) to make user of AAD as an authentication provider. I’m running into the problem, that Grafana is not passing client_id and client_secret over to the token_url but using Basic-Auth. More details on the problem are stated here. https://github.com/grafana/grafana/issues/5877#issuecomment-332890807

Any help/hint is appreciated.

Seems like you got the answers needed in the GitHub issue so closing this.