mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Revert "FIX: google oauth2 for sites using https. Need to specify the redirect_uri during setup in this case."
This reverts commit fe6235b40e
.
This commit is contained in:
parent
d3cc85c784
commit
030c748adb
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ class Auth::GoogleOAuth2Authenticator < Auth::Authenticator
|
||||||
strategy = env["omniauth.strategy"]
|
strategy = env["omniauth.strategy"]
|
||||||
strategy.options[:client_id] = SiteSetting.google_oauth2_client_id
|
strategy.options[:client_id] = SiteSetting.google_oauth2_client_id
|
||||||
strategy.options[:client_secret] = SiteSetting.google_oauth2_client_secret
|
strategy.options[:client_secret] = SiteSetting.google_oauth2_client_secret
|
||||||
},
|
}
|
||||||
:redirect_uri => "#{Discourse.base_url}/auth/google_oauth2/callback"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
Loading…
Reference in a new issue