ServiceStack/ServiceStack — Issue #94: Issue with callback URI using OAuth Providers on Appharbor
Author: Stephanvs
Created: 2012-02-08 10:18:33+00:00
State: open

I have my service hosted in the cloud (Appharbor) and have configured OAuth for Facebook. However the callback url given to facebook contains port number used by the internal proxy for load balancing.

I think the common pattern is to use the `HTTP_X_FORWARDED_FOR` header attribute, but I'm not sure...

More info can be found here:

http://support.appharbor.com/kb/getting-started/information-about-our-load-balancer

Can somebody provide me with feedback on what might be the best way to resolve this?