You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/extensions/ui-extensions.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,6 +227,7 @@ To help identify the **iframe** caller (insecure) and context, several paramete
227
227
For example, when `url` is `https://customerwebsite.com/iframe/`, the called URL is `https://customerwebite.com/iframe/?position=pim.product.tab&user[username]=julia`
228
228
229
229
For all positions, parameters relative to the connected user and the extension position are sent:
230
+
-`user[uuid]`
230
231
-`user[id]`
231
232
-`user[username]`
232
233
-`user[email]`
@@ -313,7 +314,7 @@ The **PIM context** is propagated within the iframe when it changes using **post
313
314
314
315
The message contains :
315
316
- A `context` object containing the selected `locale` and `channel`.
316
-
- A `user` object containing the `username` and `groups` of the connected user.
317
+
- A `user` object containing the `uuid`, `username` and `groups` of the connected user.
317
318
318
319
Example :
319
320
```json
@@ -323,6 +324,7 @@ Example :
323
324
"channel": "ecommerce"
324
325
},
325
326
"user": {
327
+
"uuid": "c71228d3-695c-4ded-8f3d-b3ed881a1f59",
326
328
"username": "admin",
327
329
"groups": [
328
330
"IT support",
@@ -396,13 +398,15 @@ The JWT token consists of three main parts: the header, the body (payload), and
0 commit comments