[mitreid-connect] Loading resources from client system

Claes Gyllensvärd letharion at gmail.com
Mon Jul 29 08:58:38 EDT 2013


For what it's worth, wrapping

<base href="${config.issuer}">

in

openid-connect-server/src/main/webapp/WEB-INF/tags/header.tag

with an HTML comment,

<!-- <base href="${config.issuer}"> -->

solves the issue for me, as the browser gets the base right even without
the explicit reference.


2013/7/29 Claes Gyllensvärd <letharion at gmail.com>

> I've setup a server instance, with simply
>
> mvn package
> cp server.war /path/to/tomcat
>
> 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
> https://id.mitre.org/connect/
>
> 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.
>
>  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.
>
> The cause seems to be this head tag:
>
> <base href="http://localhost:8080/openid-connect-server/">
>
> Any suggestions for how I can get the base href corrected?
>
> Kind regards, Claes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20130729/780b8af0/attachment.htm


More information about the mitreid-connect mailing list