简体   繁体   English

Omniauth代理Rails 2.3.4

[英]Omniauth proxy rails 2.3.4

Does anybody know how I configure omniauth to accept http proxy settings? 有人知道我如何配置omniauth接受HTTP代理设置吗?

I could do this lower down the stack either. 我也可以降低堆栈的大小。

I fixed this by setting the default proxy in the oauth consumer class...its a bit of a hack but it works. 我通过在oauth消费者类中设置默认代理来解决此问题。 Omniauth probably has a setting, as oauth has, but time was against me and this works fine. Omniauth可能具有与oauth一样的设置,但是时间对我不利,因此效果很好。

Rgds, Rgds,

slothishtype 懒散型

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM