Closed kgeis closed 8 years ago
mockAuthClient calls req.get('host') but should probably use req.hostname. This will make it work better behind a proxy.
req.get('host')
req.hostname
The value of req.hostname is derived from the value set in the X-Forwarded-Host header, which can be set by the client or by the proxy.
The Core Authentication service should be available soon. It should eliminate the need for the mockAuthClient. However, if its not ready in time for the next release, we can make this change.
mockAuthClient calls
req.get('host')
but should probably usereq.hostname
. This will make it work better behind a proxy.