kuali / research-coi

GNU Affero General Public License v3.0
2 stars 3 forks source link

problem with redirect host when running behind proxy #5

Closed kgeis closed 8 years ago

kgeis commented 8 years ago

mockAuthClient calls req.get('host') but should probably use req.hostname. This will make it work better behind a proxy.

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.

iambrandonn commented 8 years ago

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.