2012-06-20 22 views

回答

0

的解決方案是添加下列行來配置/初始化/ omniauth.rb

OmniAuth.config.full_host = "http://example.com" 

現在omniauth利用「http://example.com/auth/google_oauth2/callback」作爲重定向URI而不管用戶如何進入網站。

相關問題