Zendesk SSO How to force JWT payload renewal?
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...
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.
Hi Marco, thanks for the question. You should be able to pass an
expparameter to ensure the JWT payload has an expiration time. More information on that parameter and others can be found here.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.