Required some upstream modification but not required changes in browser URL


There is some specific requirement, in which we need to change the upstream URL in GateKeeper.
coming URL:- products/admin-ui/customer
required URL for secured App:- products/admin/customer

We successfully change the coming URL in Gatekeeper code and it successfully redirect it to secured App with modified URL.

But the problem is in browser, the url got changed from products/admin-ui/customer to products/admin-ui/customer.
My requirement is, browser URL need to show products/admin-ui/customer