From 7582e77d25a28c2c7d03bf5efe1371611835c6d8 Mon Sep 17 00:00:00 2001 From: linoman <2051016+linoman@users.noreply.github.com> Date: Thu, 5 Jan 2023 20:04:04 +0100 Subject: [PATCH] Add reference to Google OAuth docs (#61048) --- .../configure-authentication/google/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sources/setup-grafana/configure-security/configure-authentication/google/index.md b/docs/sources/setup-grafana/configure-security/configure-authentication/google/index.md index 60a4210c942..c14268ffcd8 100644 --- a/docs/sources/setup-grafana/configure-security/configure-authentication/google/index.md +++ b/docs/sources/setup-grafana/configure-security/configure-authentication/google/index.md @@ -39,6 +39,7 @@ auth_url = https://accounts.google.com/o/oauth2/auth token_url = https://accounts.google.com/o/oauth2/token allowed_domains = mycompany.com mycompany.org allow_sign_up = true +hosted_domain = mycompany.com ``` You may have to set the `root_url` option of `[server]` for the callback URL to be @@ -53,6 +54,9 @@ You may allow users to sign-up via Google authentication by setting the user successfully authenticating via Google authentication will be automatically signed up. +You may specify a domain to be passed as `hd` query parameter accepted by Google's +OAuth 2.0 authentication API. Refer to Google's OAuth [documentation](https://developers.google.com/identity/openid-connect/openid-connect#hd-param). + ### Configure refresh token > Available in Grafana v9.3 and later versions.