$_SERVER.PATH_INFO not passing on URL Query Parameters

Thanks for looking into it.

What I am trying to do is that if a user has a link for example: http://localhost:8100/tas/create_tas?id=tas-7e8008f0-06d6-4293-b4a6-e46db94783f1

and when the user tries to access the link, it sends them to the login page and then the user gets redirected to the link. I followed Ken’s process here: Nodejs redirect to intended URL after login

I can get it to work, however the issue is that PATH_INFO or URL do not pass on the URL Query Parameter value.