mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Better logging for omniauth with oidc
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
+1
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user