Better logging for omniauth with oidc

pull/11964/head
Oliver Günther 2 years ago
parent 1ab381e671
commit 17e60e1bd9
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 4
      Gemfile.lock
  2. 2
      Gemfile.modules
  3. 2
      config/initializers/omniauth.rb

@ -9,8 +9,8 @@ GIT
GIT
remote: https://github.com/opf/omniauth-openid-connect.git
revision: 27d9d4a05c80a9b29709ae8681696de11156e0e5
ref: 27d9d4a05c80a9b29709ae8681696de11156e0e5
revision: 0d2cd719e87021a14dd2b5cf8a6bf1831d4a497e
ref: 0d2cd71
specs:
omniauth-openid-connect (0.4.0)
addressable (~> 2.5)

@ -14,7 +14,7 @@ gem 'omniauth-openid_connect-providers',
gem 'omniauth-openid-connect',
git: 'https://github.com/opf/omniauth-openid-connect.git',
ref: '27d9d4a05c80a9b29709ae8681696de11156e0e5'
ref: '0d2cd71'
group :opf_plugins do
# included so that engines can reference OpenProject::Version

@ -26,6 +26,8 @@
# See COPYRIGHT and LICENSE files for more details.
#++
OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
unless Rails.env.production?
provider :developer, fields: %i[first_name last_name email]

Loading…
Cancel
Save