<div dir="ltr">Good day,<div><br></div><div>A few weeks ago, I was deploying auth-server.war inside a JBoss 6.1.0alpha instance and using relative URIs for redirects on my registered applications.  For example, a single redirect uri of &#39;/hello-world/*&#39; meant that I could access our app from:</div><div><ul><li><a href="http://localhost:8080/hello-world/">http://localhost:8080/hello-world/</a></li><li><a href="https://localhost:8443/hello-world/">https://localhost:8443/hello-world/</a></li><li>http://[workstation]:8080/hello-world/</li><li>https://[workstation]:8443/hello-world/</li></ul><div>This was very convenient as we deploy the JBoss container on site for customer use via automated installer, so trying to minimize the local configurations required is important.</div><div><br></div><div>However, as per recent exchanges with Stian, I am now running a separate Keycloak appliance instance (Wildfly 8.2), port-shifted by 100, along-side our old JBoss instance. </div></div><div><br></div><div>This seems to require that I add 4 separate redirect_uris (above) in order for things to work.  As well, the latter two require knowledge of the target machine&#39;s hostname. </div><div><br></div><div>I&#39;m wondering if there is a way to use relative host URI, but keep the port for application redirect_uri.  Or perhaps a hostname placeholder?  Possible example:</div><div><ul><li>http://${<a href="http://jboss.host.name">jboss.host.name</a>}:8080/hello-world/</li></ul><div>Any sort of placeholder for the current host-name would simplify the current post-install configuration required.</div></div><div><br></div><div>Thanks,</div><div>Guy</div><div><br></div><div><br></div></div>