From 8734b54f90586a8f833c6421a0ff884f3b655871 Mon Sep 17 00:00:00 2001 From: Jacob Hands Date: Fri, 23 May 2025 08:48:10 -0500 Subject: [PATCH] Docs: document required return type for org_attribute_path (#105946) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: linoman <2051016+linoman@users.noreply.github.com> Co-authored-by: Irene Rodríguez --- .../configure-authentication/generic-oauth/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md b/docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md index 7867cb4767b..17305e59a3f 100644 --- a/docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md +++ b/docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md @@ -209,6 +209,10 @@ You can use the `org_attribute_path` and `org_mapping` configuration options to To ease configuration of a proper JMESPath expression, go to [JMESPath](http://jmespath.org/) to test and evaluate expressions with custom payloads. +{{< admonition type="note" >}} +When using `org_attribute_path`, the value returned by the JMESPath expression must be an array, not a string. +{{< /admonition >}} + #### Role mapping examples This section includes examples of JMESPath expressions used for role mapping.