我使用设计& Omniauth我的轨道3.0.7应用程序,我已经建立了一个有效的Twitter和Facebook登录。我刚刚得到了谷歌企业应用套件登录通过与以下行omniauth在config/initializers/omniauth.rb
工作:Rails谷歌登录omniauth
require 'openid/store/filesystem'
use OmniAuth::Strategies::GoogleApps, OpenID::Store::Filesystem.new('/tmp')
provider :openid, OpenID::Store::Filesystem.new('./tmp'), :name => 'google', :identifier => 'https://www.google.com/accounts/o8/id'
但是这会导致与谷歌Apps的登录。我如何才能让用户使用其标准Google帐户登录,而不是Google Apps(适用于企业)?这甚至是由Omniauth支持的吗?