Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Danilo Charantola's Avatar

Danilo Charantola

Beigetreten 16. Okt. 2021

·

Letzte Aktivität 16. Okt. 2021

Folge ich

0

Follower

0

Gesamtaktivitäten

2

Stimmen

0

Abonnement

1

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Danilo Charantola

Danilo Charantola hat einen Post erstellt

Post Developer - Zendesk SDKs

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?

Gepostet 13. Sept. 2021 · Danilo Charantola

0

Follower

4

Stimmen

3

Kommentare