【发布时间】:2014-02-27 10:05:02
【问题描述】:
我正在使用omniauth-google-oauth2 gem。
我的 oauth2 设置与此处的设置非常相似:https://gist.github.com/sevos/821291,这意味着我将范围保存在 config/authentication_services.yml 文件中。
我想从初始请求中排除一个范围,并仅在需要时才请求该范围?
【问题讨论】:
标签: ruby-on-rails oauth-2.0 omniauth