proxyRestUri is returning internal server name when using external server DNS name or reverse proxy DNS name.
Environment
Resolution
This was reported to R&D with ID QB-2684 and assessed as a current product limitation.
Unfortunately, this scenario cannot be solved simply without adding a new setting for it in the virtual proxy, and that would qualify rather as a feature request than a defect.
Some customers would want the internal URL as they have the authentication module behind the same reverse proxy, and some other customers would need the external one as the authentication module is external.
Workaround:
The recommendation is to directly hard-code the server name in the authentication module code instead of relying on ProxyRestUri for this use case.
Cause:
What is proxyRestUri ?
proxyRestUri is a URL parameter returned by Qlik Sense when it is redirecting to an external authentication module. More details on the help site.