Skip to content

Commit 487dc1a

Browse files
authored
Merge branch 'develop' into dependabot/bundler/multi-5c113cbb90
2 parents 6d84666 + 1f6e5e3 commit 487dc1a

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gem 'rails', '~> 8.1', '>= 8.1.2.1'
88
# Use postgresql as the database for Active Record
99
gem 'pg', '>= 0.18', '< 2.0'
1010
# Use Puma as the app server
11-
gem 'puma', '~> 6.4', '>= 6.4.3'
11+
gem 'puma', '~> 7.2'
1212
# Use SCSS for stylesheets
1313
gem 'sass-rails', '~> 6.0', '>= 6.0.0'
1414
# Use Uglifier as compressor for JavaScript assets

Gemfile.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ GEM
136136
climate_control (1.0.0)
137137
cliver (0.3.2)
138138
coderay (1.1.3)
139-
concurrent-ruby (1.3.6)
139+
concurrent-ruby (1.3.7)
140140
connection_pool (3.0.2)
141141
crack (1.0.0)
142142
bigdecimal
@@ -287,7 +287,7 @@ GEM
287287
bigdecimal (>= 3.1, < 5)
288288
multipart-post (2.4.1)
289289
mutex_m (0.3.0)
290-
net-imap (0.5.12)
290+
net-imap (0.5.15)
291291
date
292292
net-protocol
293293
net-pop (0.1.2)
@@ -297,8 +297,8 @@ GEM
297297
net-smtp (0.5.1)
298298
net-protocol
299299
netrc (0.11.0)
300-
nio4r (2.7.4)
301-
nokogiri (1.19.1)
300+
nio4r (2.7.5)
301+
nokogiri (1.19.4)
302302
mini_portile2 (~> 2.8.2)
303303
racc (~> 1.4)
304304
oauth2 (2.0.18)
@@ -348,7 +348,7 @@ GEM
348348
date
349349
stringio
350350
public_suffix (6.0.2)
351-
puma (6.4.3)
351+
puma (7.2.1)
352352
nio4r (~> 2.0)
353353
racc (1.8.1)
354354
rack (3.2.6)
@@ -496,7 +496,7 @@ GEM
496496
temple (0.10.4)
497497
thor (1.5.0)
498498
tilt (2.6.1)
499-
timeout (0.4.3)
499+
timeout (0.6.1)
500500
tsort (0.2.0)
501501
tzinfo (2.0.6)
502502
concurrent-ruby (~> 1.0)
@@ -564,7 +564,7 @@ DEPENDENCIES
564564
poltergeist (>= 1.18.1)
565565
prism (~> 1.4)
566566
pry-rails
567-
puma (~> 6.4, >= 6.4.3)
567+
puma (~> 7.2)
568568
rack-maintenance (~> 3.0)
569569
rails (~> 8.1, >= 8.1.2.1)
570570
rollbar

config/initializers/omniauth.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
Rails.application.config.middleware.use OmniAuth::Builder do
44
provider :developer unless Rails.env.production?
55

6+
auth0_domain = ENV['AUTH0_DOMAIN']
7+
auth0_user_info_domain = ENV.fetch('AUTH0_USER_INFO_DOMAIN', auth0_domain)
8+
69
provider(
710
:auth0,
811
ENV['AUTH0_CLIENT_ID'],
912
ENV['AUTH0_CLIENT_SECRET'],
10-
ENV['AUTH0_DOMAIN'],
13+
auth0_domain,
1114
callback_path: '/auth/auth0/callback',
1215
authorize_params: {
1316
scope: 'openid profile',
14-
audience: "https://#{ENV['AUTH0_DOMAIN']}/userinfo"
17+
audience: "https://#{auth0_user_info_domain}/userinfo"
1518
}
1619
)
1720
end

0 commit comments

Comments
 (0)