Dynamic Redirect To URLs only certain client ids

I try to redirect our customers after the have have resetted their password. When I configure the password reset email template I can set the field ‘Redirect To’ and I have found the ‘Dynamic Redirect To URLs’ documentation.
How du I achive to redirect the customer only for specified clientIds and not redirect him at all if his clientId does not match? I would expect something like this:

{% if application.clientID == ‘clientIdWhichShouldBeRedirected’ %} https://redirectUrl.com/ {% else %} <Don’t redirect> {% endif %} or simply:
{% if application.clientID == ‘clientIdWhichShouldBeRedirected’ %} https://redirectUrl.com/ {% endif %}

But for all other cases but the specified URL it fails after resetting the password.
Thanks for your help.

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?