We have links from our (non-zendesk) site to help our users create tickets on Zendesk, and these links will pre-fill certain parts of the ticket form to give additional useful context, using query string parameters as described here.
However, if the user is not logged into Zendesk then the redirect to authenticate will lose the query string parameters which pre-populate the form. This means the user gets a very slick sign-in experience, but ends up with an unexpectedly empty form.
So for example, if the link on our site takes the user to:
https://mycompany.zendesk.com/hc/en-us/requests/new?ticket_form_id=123&tf_1115745411613=something
Zendesk immediately redirects to:
https://mycompany.zendesk.com/hc/en-gb/restricted?return_to=https%3A%2F%2Fmycompany.zendesk.com%2Fhc%2Fen-gb%2Frequests%2Fnew%3Fticket_form_id%3D123
The next redirect is to our SSO sign-in page, however you can see it has already lost the `tf_1115745411613=something` query string parameter in the redirect to the `restricted` page. It remains missing all the way though the SSO process until the user is sent back to the original URL, which is now no longer exactly the original URL as it is missing query string parameters.
What I need is for the query string parameters to be preserved through the SSO process.
Is there a way to achieve this currently?
We don't have any news on this one when I checked.