From 3c702af16bab04e183f7a63e10b4bf036e22906d Mon Sep 17 00:00:00 2001
From: Taico Aerts <t.v.aerts@tudelft.nl>
Date: Mon, 12 Sep 2022 22:11:49 +0200
Subject: [PATCH] Update omniauth

---
 Gemfile      | 2 +-
 Gemfile.lock | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/Gemfile b/Gemfile
index dfded7b46..50287ffa7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -21,7 +21,7 @@ gem 'tzinfo-data', '~> 1.2022.3'
 
 # Sign in
 gem 'devise', '~> 4.8'
-gem 'omniauth', '~> 1.9'
+gem 'omniauth', '~> 2.1'
 
 # Markdown support in both directions.
 gem 'commonmarker', '~> 0.23'
diff --git a/Gemfile.lock b/Gemfile.lock
index 98cc61909..429090e1c 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -201,9 +201,10 @@ GEM
     nio4r (2.5.8)
     nokogiri (1.13.8-x86_64-linux)
       racc (~> 1.4)
-    omniauth (1.9.2)
+    omniauth (2.1.0)
       hashie (>= 3.4.6)
-      rack (>= 1.6.2, < 3)
+      rack (>= 2.2.3)
+      rack-protection
     orm_adapter (0.5.0)
     parallel (1.22.1)
     parser (3.1.2.1)
@@ -222,6 +223,8 @@ GEM
     rack (2.2.4)
     rack-mini-profiler (3.0.0)
       rack (>= 1.2.0)
+    rack-protection (2.2.2)
+      rack
     rack-test (2.0.2)
       rack (>= 1.3)
     rails (7.0.4)
@@ -386,7 +389,7 @@ DEPENDENCIES
   minitest-ci (~> 3.4.0)
   mysql2 (~> 0.5.4)
   net-smtp (~> 0.3)
-  omniauth (~> 1.9)
+  omniauth (~> 2.1)
   premailer-rails (~> 1.11)
   puma (~> 5.6)
   rack-mini-profiler (~> 3.0)
-- 
GitLab