Skip to content

Commit 8da91b0

Browse files
jbatMuhammed-baban
authored andcommitted
docs: update embedded readme with user params context (apache#25800)
1 parent 7a4be45 commit 8da91b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

superset-embedded-sdk/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ Guest tokens can have Row Level Security rules which filter data for the user ca
7676

7777
The agent making the `POST` request must be authenticated with the `can_grant_guest_token` permission.
7878

79+
Within your app, using the Guest Token will then allow authentication to your Superset instance via creating an Anonymous user object. This guest anonymous user will default to the public role as per this setting `GUEST_ROLE_NAME = "Public"`.
80+
+
81+
+The user parameters in the example below are optional and are provided as a means of passing user attributes that may be accessed in jinja templates inside your charts.
82+
7983
Example `POST /security/guest_token` payload:
8084

8185
```json

0 commit comments

Comments
 (0)