我使用設計& 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支持的嗎?