diff --git a/lib/auth/google_oauth2_authenticator.rb b/lib/auth/google_oauth2_authenticator.rb index aee5486ce..86af469e2 100644 --- a/lib/auth/google_oauth2_authenticator.rb +++ b/lib/auth/google_oauth2_authenticator.rb @@ -36,8 +36,7 @@ class Auth::GoogleOAuth2Authenticator < Auth::Authenticator strategy = env["omniauth.strategy"] strategy.options[:client_id] = SiteSetting.google_oauth2_client_id strategy.options[:client_secret] = SiteSetting.google_oauth2_client_secret - }, - :redirect_uri => "#{Discourse.base_url}/auth/google_oauth2/callback" + } end protected