最近搜索
没有最近搜索

Danilo Charantola
已加入2021年10月16日
·
最后活动2021年10月16日
关注
0
关注者
0
活动总数
2
投票
0
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Danilo Charantola
Danilo Charantola 创建了一个帖子,
I have read the documentation for “Enabling authenticated users with the Chat SDK”. In the documentation, the following fields are mentioned: name, email, iat, external_id and exp.
But I have configured some custom user fields at Zendesk admin dashboard > Manage > User Fields. And I would like to automatically fill these fields too.
To do that, I have tried to add a field user_fields to the JWT. It is a dictionary of custom user field key and values to set on the user. Each custom user field is identified by its field key found in the user fields admin settings.
For example:
{
"email": "jane.doe@gmail.com",
"name": "Jane Doe",
"user_fields": {
"telefone": "11999999999",
"cpf": "12345678909"
},
"iat": 1631549926,
"external_id": "my-user-id"
}
By doing this, only the name and email where filled at Zendesk Chat dashboard. The custom fields remained empty. Is there any way to fill these fields automatically?
已于 2021年9月13日 发布 · Danilo Charantola
0
关注者
4
投票
3
评论