diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb index daf75ac0b..0b5491901 100644 --- a/config/initializers/omniauth.rb +++ b/config/initializers/omniauth.rb @@ -47,10 +47,6 @@ Rails.application.config.middleware.use OmniAuth::Builder do } # weibo database connect - provider :weibo_database, 'not_change_will_be_set_by_database', 'not_change_will_be_set_by_database', { - token_params: { - redirect_uri: "#{Setting.get('http_type')}://#{Setting.get('fqdn')}/auth/weibo/callback" - }, - } + provider :weibo_database, 'not_change_will_be_set_by_database', 'not_change_will_be_set_by_database' end