Skip to content

Commit 562fc66

Browse files
Merge pull request #1042 from akeneo/DXIM-17
DXIM-17 - UI-ext - Expand user data available in JWT
2 parents c03b96b + cdf3344 commit 562fc66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/extensions/ui-extensions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ To help identify the **iframe** caller (insecure) and context, several paramete
227227
For example, when `url` is `https://customerwebsite.com/iframe/`, the called URL is `https://customerwebite.com/iframe/?position=pim.product.tab&user[username]=julia`
228228

229229
For all positions, parameters relative to the connected user and the extension position are sent:
230+
- `user[id]`
230231
- `user[username]`
231232
- `user[email]`
232233
- `user[ui_locale]`
@@ -371,7 +372,7 @@ The JWT token consists of three main parts: the header, the body (payload), and
371372
"jti": "c1b6b9f1-8486-4f9e-9f96-8d1b40fccb65",
372373
"iat": 1743410036.116152,
373374
"exp": 1743413636.116162,
374-
"userId": "1"
375+
"userId": "1",
375376
}
376377
```
377378

0 commit comments

Comments
 (0)