From b5ed47c95c0d149eb72f5c1b25633f4460b36a87 Mon Sep 17 00:00:00 2001 From: rodrigosilva-ciandt <84101915+rodrigosilva-ciandt@users.noreply.github.com> Date: Wed, 15 Sep 2021 22:47:03 -0300 Subject: [PATCH] Docs: Update azuread docs to mention about env variables (#39203) * Update azuread docs to mention about env variables Add a note about the name of the environment variables to be used for configuring client_id and client_secret * Update docs/sources/auth/azuread.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/auth/azuread.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * fix typo * Revert "fix typo" This reverts commit ff84f70773eca3f6878be0ffa1d1275509a1475f. * Fixed typo again, trying to kick start license check. Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: achatterjee-grafana --- docs/sources/auth/azuread.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/sources/auth/azuread.md b/docs/sources/auth/azuread.md index 15209bcbd7e..b6c86bb1825 100644 --- a/docs/sources/auth/azuread.md +++ b/docs/sources/auth/azuread.md @@ -108,6 +108,11 @@ allowed_domains = allowed_groups = ``` +You can also use these environment variables to configure **client_id** and **client_secret**: +``` +GF_AUTH_AZUREAD_CLIENT_ID +GF_AUTH_AZUREAD_CLIENT_SECRET +``` **Note:** Ensure that the [root_url]({{< relref "../administration/configuration/#root-url" >}}) in Grafana is set in your Azure Application Reply URLs (**App** -> **Settings** -> **Reply URLs**) ### Configure allowed groups