diff --git a/Gemfile b/Gemfile index 41cb784f7..09fc7ee84 100644 --- a/Gemfile +++ b/Gemfile @@ -17,7 +17,6 @@ gem 'kaminari' gem 'koala' gem 'mini_magick' gem 'nightfury', '~> 1.0', '>= 1.0.1' -gem 'omniauth-facebook' gem 'pg' gem 'poltergeist' gem 'puma', '~> 3.0' diff --git a/Gemfile.lock b/Gemfile.lock index bd071e649..b5f441c6c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -227,7 +227,6 @@ GEM jmespath (1.4.0) json (2.2.0) json_pure (2.2.0) - jwt (2.2.1) kaminari (1.1.1) activesupport (>= 4.1.0) kaminari-actionview (= 1.1.1) @@ -278,20 +277,6 @@ GEM nio4r (2.5.2) nokogiri (1.10.4) mini_portile2 (~> 2.4.0) - oauth2 (1.4.2) - faraday (>= 0.8, < 2.0) - jwt (>= 1.0, < 3.0) - multi_json (~> 1.3) - multi_xml (~> 0.5) - rack (>= 1.2, < 3) - omniauth (1.9.0) - hashie (>= 3.4.6, < 3.7.0) - rack (>= 1.6.2, < 3) - omniauth-facebook (5.0.0) - omniauth-oauth2 (~> 1.2) - omniauth-oauth2 (1.6.0) - oauth2 (~> 1.1) - omniauth (~> 1.9) orm_adapter (0.5.0) parallel (1.18.0) parser (2.6.5.0) @@ -490,7 +475,6 @@ DEPENDENCIES mini_magick mock_redis nightfury (~> 1.0, >= 1.0.1) - omniauth-facebook pg poltergeist pry-rails diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb deleted file mode 100644 index ca1002f4e..000000000 --- a/config/initializers/omniauth.rb +++ /dev/null @@ -1,6 +0,0 @@ -OmniAuth.config.logger = Rails.logger - -Rails.application.config.middleware.use OmniAuth::Builder do - provider :facebook, '', '', {:client_options => {:ssl => {:ca_file => Rails.root.join("cacert.pem").to_s}}, - callback_path: '/auth/facebook/callback'} -end