Skip to content

Commit 01501d5

Browse files
authored
(DOCSP-22756) Update Charts docs for Authenticated Embedding for Realm provider (#541)
* (DOCSP-22756) Update Charts docs for Authenticated Embedding for Realm provider
1 parent e0c2b91 commit 01501d5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/filter-embedded-charts.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,16 @@ This filter ensures that viewers of an embedded chart see only their
262262
own data, which is useful when embedding charts with potentially
263263
sensitive information.
264264

265+
.. note::
266+
267+
If you use a Realm Authentication Provider, ``context.token``
268+
contains the Realm
269+
:atlas:`user object </app-services/authentication/user-objects/>` to
270+
filter. For example, if you enable
271+
:atlas:`Custom User Data </app-services/users/enable-custom-user-data/>`
272+
for Realm users, the user object is available in
273+
``context.token.custom_data``.
274+
265275
To inject a filter specific to each user, in the
266276
:guilabel:`Authenticated` tab of the the :guilabel:`Embed Chart`
267277
dialog, set the :guilabel:`Inject Filter Per User`

0 commit comments

Comments
 (0)