<div dir="ltr"><div><div>For what it's worth, wrapping<br><br><base href="${config.issuer}"><br><br>in<br><br>openid-connect-server/src/main/webapp/WEB-INF/tags/header.tag<br><br></div>with an HTML comment,<br>
<br><!-- <base href="${config.issuer}"> --><br><br></div>solves the issue for me, as the browser gets the base right even without the explicit reference.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/7/29 Claes Gyllensvärd <span dir="ltr"><<a href="mailto:letharion@gmail.com" target="_blank">letharion@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div>I've setup a server instance, with simply<br><br></div>mvn package<br>cp server.war /path/to/tomcat<br><br></div>The instance itself seem to come up just fine, and when I try to access it, I get something that vaguely resembles the page at <a href="https://id.mitre.org/connect/" target="_blank">https://id.mitre.org/connect/</a><br>
<br></div>However, all resources the page wants, such as bootstrap, are being loaded from "localhost:8080", instead of from "internal-ip:8080", where the initial request fetches the HTML page.<br><br>
</div>
So what's happening is that browser then tried to fetch these resources from the client machine, instead of the server, which doesn't work to well.<br><br></div>The cause seems to be this head tag:<br><br><base href="<a href="http://localhost:8080/openid-connect-server/" target="_blank">http://localhost:8080/openid-connect-server/</a>"><br>
<br></div>Any suggestions for how I can get the base href corrected?<br><br>Kind regards, Claes<br></div>
</blockquote></div><br></div>