Skip to main content
Triggered when the JWT authentication token expires and needs to be refreshed. Use this event to provide a new token to maintain secure communication with the backend.

Event properties

type
string
required
Always 'authTokenNeeded'.
authToken
string | null
required
The expired token, or null if unavailable. You must set this property to the new token.

Example

Do you need practical examples?

Learn how to apply the features available for embedded chat into your implementation with guidance and examples.