sitecore - Connect using web proxy to allow OAuth to work -
i'm running sitecore.net 7.0 (rev. 140120) social connected 2.0 (for cms 7.0).
however - unfortunately our corporate environment requires connect via proxy server, dev environment not work.
i reflected code in sitecore.social.facebook.dll
, can see code in sitecore.social.facebook.connector.managers.webrequestmanager.getresponse()
makes http requests facebook.com, , not appear reference proxy.
i have confirmed on network without proxy requirements setup works well.
is there way specify proxy such requests? can write own replacement allow proxy configured - if how plug in?
the solution ended being pretty simple. added following web.config:
<system.net> <defaultproxy enabled="true" usedefaultcredentials="true"> </defaultproxy> </system.net>
you can specify other proxy configuration using method affect whole web application.
Comments
Post a Comment