From e3ea7ee1455a4f88c0c8bed8e5a1884aa658679c Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 4 Nov 2022 09:43:38 +0000 Subject: [PATCH] Doc: Add groups mapping config to readme (#58208) --- devenv/docker/blocks/auth/oauth/readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devenv/docker/blocks/auth/oauth/readme.md b/devenv/docker/blocks/auth/oauth/readme.md index 622a4c890fb..c2a8b34ccf6 100644 --- a/devenv/docker/blocks/auth/oauth/readme.md +++ b/devenv/docker/blocks/auth/oauth/readme.md @@ -11,7 +11,7 @@ Here is the conf you need to add to your configuration file (conf/custom.ini): ```ini [auth] -signout_redirect_url = http://localhost:8087/auth/realms/grafana/protocol/openid-connect/logout?redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Flogin +signout_redirect_url = http://localhost:8087/realms/grafana/protocol/openid-connect/logout?redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Flogin [auth.generic_oauth] enabled = true @@ -23,6 +23,7 @@ scopes = openid email profile offline_access roles email_attribute_path = email login_attribute_path = username name_attribute_path = full_name +groups_attribute_path = groups auth_url = http://localhost:8087/realms/grafana/protocol/openid-connect/auth token_url = http://localhost:8087/realms/grafana/protocol/openid-connect/token role_attribute_path = contains(roles[*], 'grafanaadmin') && 'GrafanaAdmin' || contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'