Omniauth:无法在策略中将response_type更改为“令牌”

问题描述

|| 我正在实施一项策略,以连接到使用oauth-plugin实现的OAuth提供程序。在\“ request_phase \”函数中,我写道:
def request_phase
    options[:response_type] = \'token
    super
end
但是在发送的HTTP请求中,它具有\“ ...&response_type = code \” 我跟随其他示例在request_phase中设置response_type,如SalesForce策略所示: https://github.com/quintonwall/omniauth-rails3-forcedotcom/wiki/Build-Mobile-Apps-in-the-Cloud-with-Omniauth、-Httparty-and-Force.com 请提供有关如何更改response_type的建议。 谢谢 拉米     

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)