Hi All,
We have enabled SSO/JWT in order to externally authenticate our Help Center users. And, our work-flow requires us to pass additional data via the JWT payload (eg. "user_fields" as documented by Zendesk). This is working OK... but...
PROBLEM:
How can we set the JWT Token to expire in a short time? (eg. 5 mins)
Without that, we'll not be able to update the custom data sent via "user_fields". These data are variable over the time.. that's why we need to invalidate the JWT token.
Of course, we can't ask users to manually logout each time they open a new ticket. We just need to resend a new JWT payload when they navigate from our Website to the Help Center.
Thanks.
Marco
expparameter to ensure the JWT payload has an expiration time. More information on that parameter and others can be found here.