forked from External/greenlight
GRN2-175: Update Greenlight to work with the new launcher (#614)
* Update greenlight to support the new launcher * Update comments to indicate that checksum should eventually be removed * Fix spelling mistake * Fix rubocop * Missed variable name change * Support old environment variable
This commit is contained in:
committed by
farhatahmad
parent
fc18976b6d
commit
2a96269d44
@ -27,7 +27,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
||||
if Rails.configuration.omniauth_bn_launcher
|
||||
provider :bn_launcher, client_id: ENV['CLIENT_ID'],
|
||||
client_secret: ENV['CLIENT_SECRET'],
|
||||
client_options: { site: ENV['BN_LAUNCHER_REDIRECT_URI'] },
|
||||
client_options: { site: ENV['BN_LAUNCHER_URI'] || ENV['BN_LAUNCHER_REDIRECT_URI'] },
|
||||
setup: SETUP_PROC
|
||||
elsif Rails.configuration.omniauth_ldap
|
||||
Rails.application.config.providers << :ldap
|
||||
|
Reference in New Issue
Block a user