I would recommend storing these parameters in the State or a cookie/browser session - and then your app can decode this and redirect the authenticated user to the appropriate page with the right querystring in place.
Please see here for some more detail on the two methods: Redirect Users