<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Virtual Proxy redirect URI depending on server in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Virtual-Proxy-redirect-URI-depending-on-server/m-p/1561719#M13093</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set up a virtual proxy in QMC which should redirect to &lt;A href="http://SERVERNAME/login" target="_blank"&gt;http://SERVERNAME/login&lt;/A&gt;. Login is a self created authentication page.&lt;/P&gt;&lt;P&gt;We have two different servers, for explanation I'll name them "development" and "production". They both call &lt;A href="https://SERVERNAME/virtualproxy" target="_blank"&gt;https://SERVERNAME/virtualproxy&lt;/A&gt; and then should be redirected to the local authentication page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I can only put in a hardcoded authentication module redirect uri - like &lt;A href="http://development/login" target="_blank"&gt;http://development/login&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to make the redirect URI with some kind of placeholder and depending on the server calling the virutal proxy, it will either redirect to &lt;A href="http://Development/login" target="_blank"&gt;http://Development/login&lt;/A&gt; or &lt;A href="http://production/login" target="_blank"&gt;http://production/login&lt;/A&gt; ? So for example the authentication module redirect uri ist something like &lt;A href="http://HOSTNAME/login" target="_blank"&gt;http://HOSTNAME/login&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or is the only possible solution to create 2 virtual proxies.&lt;/P&gt;&lt;P&gt;Right now the problem is that no matter I call the virutal proxy from development or production server - I'll always get redirected to &lt;A href="http://Development/login" target="_blank"&gt;http://Development/login&lt;/A&gt; - because it is hardcoded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:14:35 GMT</pubDate>
    <dc:creator>marcschloemmer</dc:creator>
    <dc:date>2024-11-16T06:14:35Z</dc:date>
    <item>
      <title>Virtual Proxy redirect URI depending on server</title>
      <link>https://community.qlik.com/t5/Management-Governance/Virtual-Proxy-redirect-URI-depending-on-server/m-p/1561719#M13093</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set up a virtual proxy in QMC which should redirect to &lt;A href="http://SERVERNAME/login" target="_blank"&gt;http://SERVERNAME/login&lt;/A&gt;. Login is a self created authentication page.&lt;/P&gt;&lt;P&gt;We have two different servers, for explanation I'll name them "development" and "production". They both call &lt;A href="https://SERVERNAME/virtualproxy" target="_blank"&gt;https://SERVERNAME/virtualproxy&lt;/A&gt; and then should be redirected to the local authentication page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I can only put in a hardcoded authentication module redirect uri - like &lt;A href="http://development/login" target="_blank"&gt;http://development/login&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to make the redirect URI with some kind of placeholder and depending on the server calling the virutal proxy, it will either redirect to &lt;A href="http://Development/login" target="_blank"&gt;http://Development/login&lt;/A&gt; or &lt;A href="http://production/login" target="_blank"&gt;http://production/login&lt;/A&gt; ? So for example the authentication module redirect uri ist something like &lt;A href="http://HOSTNAME/login" target="_blank"&gt;http://HOSTNAME/login&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or is the only possible solution to create 2 virtual proxies.&lt;/P&gt;&lt;P&gt;Right now the problem is that no matter I call the virutal proxy from development or production server - I'll always get redirected to &lt;A href="http://Development/login" target="_blank"&gt;http://Development/login&lt;/A&gt; - because it is hardcoded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Virtual-Proxy-redirect-URI-depending-on-server/m-p/1561719#M13093</guid>
      <dc:creator>marcschloemmer</dc:creator>
      <dc:date>2024-11-16T06:14:35Z</dc:date>
    </item>
  </channel>
</rss>

