Update omniauth to version 2.0.0

This commit is contained in:
depfu[bot] 2021-08-11 13:53:10 +00:00 committed by Henne Vogelsang
parent 014e210738
commit fd4c60ff9f
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
3 changed files with 28 additions and 16 deletions

View file

@ -44,6 +44,7 @@ gem 'omniauth-facebook'
gem 'omniauth-github' gem 'omniauth-github'
gem 'omniauth-google-oauth2' gem 'omniauth-google-oauth2'
gem 'omniauth-openid' gem 'omniauth-openid'
gem 'omniauth-rails_csrf_protection'
# Bot-filtering # Bot-filtering
gem 'recaptcha', require: 'recaptcha/rails' gem 'recaptcha', require: 'recaptcha/rails'

View file

@ -168,7 +168,7 @@ GEM
railties (>= 3.0.0) railties (>= 3.0.0)
faker (1.9.3) faker (1.9.3)
i18n (>= 0.7) i18n (>= 0.7)
faraday (1.5.1) faraday (1.7.0)
faraday-em_http (~> 1.0) faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0) faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1) faraday-excon (~> 1.1)
@ -176,6 +176,7 @@ GEM
faraday-net_http (~> 1.0) faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1) faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0) faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ruby2_keywords (>= 0.0.4) ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0) faraday-em_http (1.0.0)
@ -185,6 +186,7 @@ GEM
faraday-net_http (1.0.1) faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0) faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0) faraday-patron (1.0.0)
faraday-rack (1.0.0)
fastimage (2.1.4) fastimage (2.1.4)
feature (1.4.0) feature (1.4.0)
ffi (1.15.3) ffi (1.15.3)
@ -330,24 +332,29 @@ GEM
multi_json (~> 1.3) multi_json (~> 1.3)
multi_xml (~> 0.5) multi_xml (~> 0.5)
rack (>= 1.2, < 3) rack (>= 1.2, < 3)
omniauth (1.9.1) omniauth (2.0.4)
hashie (>= 3.4.6) hashie (>= 3.4.6)
rack (>= 1.6.2, < 3) rack (>= 1.6.2, < 3)
omniauth-facebook (5.0.0) rack-protection
omniauth-facebook (8.0.0)
omniauth-oauth2 (~> 1.2) omniauth-oauth2 (~> 1.2)
omniauth-github (1.3.0) omniauth-github (2.0.0)
omniauth (~> 1.5) omniauth (~> 2.0)
omniauth-oauth2 (>= 1.4.0, < 2.0) omniauth-oauth2 (~> 1.7.1)
omniauth-google-oauth2 (0.6.1) omniauth-google-oauth2 (1.0.0)
jwt (>= 2.0) jwt (>= 2.0)
omniauth (>= 1.1.1)
omniauth-oauth2 (>= 1.5)
omniauth-oauth2 (1.6.0)
oauth2 (~> 1.1) oauth2 (~> 1.1)
omniauth (~> 1.9) omniauth (~> 2.0)
omniauth-openid (1.0.1) omniauth-oauth2 (~> 1.7.1)
omniauth (~> 1.0) omniauth-oauth2 (1.7.1)
rack-openid (~> 1.3.1) oauth2 (~> 1.4)
omniauth (>= 1.9, < 3)
omniauth-openid (2.0.1)
omniauth (>= 1.0, < 3.0)
rack-openid (~> 1.4.0)
omniauth-rails_csrf_protection (1.0.0)
actionpack (>= 4.2)
omniauth (~> 2.0)
open4 (1.3.4) open4 (1.3.4)
orm_adapter (0.5.0) orm_adapter (0.5.0)
paper_trail (10.3.1) paper_trail (10.3.1)
@ -391,9 +398,11 @@ GEM
nio4r (~> 2.0) nio4r (~> 2.0)
racc (1.5.2) racc (1.5.2)
rack (2.2.3) rack (2.2.3)
rack-openid (1.3.1) rack-openid (1.4.2)
rack (>= 1.1.0) rack (>= 1.1.0)
ruby-openid (>= 2.1.8) ruby-openid (>= 2.1.8)
rack-protection (2.1.0)
rack
rack-test (1.1.0) rack-test (1.1.0)
rack (>= 1.0, < 3) rack (>= 1.0, < 3)
rails (5.2.6) rails (5.2.6)
@ -682,6 +691,7 @@ DEPENDENCIES
omniauth-github omniauth-github
omniauth-google-oauth2 omniauth-google-oauth2
omniauth-openid omniauth-openid
omniauth-rails_csrf_protection
paper_trail paper_trail
pdf-inspector pdf-inspector
pg pg

View file

@ -3,5 +3,6 @@
- omniauth_configured.each do |provider| - omniauth_configured.each do |provider|
= link_to "user_#{provider}_omniauth_authorize".to_sym, class: "btn btn-success btn-lg", = link_to "user_#{provider}_omniauth_authorize".to_sym, class: "btn btn-success btn-lg",
id: "omniauth-#{provider}", id: "omniauth-#{provider}",
title: "Your #{provider} login" do title: "Your #{provider} login",
method: :post do
%i{class: "fa fa-#{provider}"} %i{class: "fa fa-#{provider}"}