Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用omniauth 的小应用程序,我正在使用LinkedIn 提供商(omniauth-linkedin)对其进行测试。不幸的是,我的测试环境在代理后面。所以我需要通过代理访问linkedin。
如何设置代理地址以使对linkedin的请求成功?它似乎没有遵守 http_proxy 设置。
我想通了,我想..
ue OmniAuth::Builder do provider :linkedin, "KEY", "SECRET", {:client_options => { :proxy =>\ ENV["HTTP_PROXY"] || ENV["http_proxy"] }} end