diff --git a/CHANGELOG.md b/CHANGELOG.md index a49992ffb..815695ea2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Updated sidekiq-unique-jobs to 7.1.23 to get rid of Sidekiq's default_worker_options deprecation warning - Allow moving with arrows in the setup script's inputs +- Fix a bug: unable to connect with OAuth2 - Fix a bug: when installing fab-manager as non-root user, most of the resulting installation directories were owned by root - Fix a bug: unable to edit OIDC provider - Fix a bug: list of OIDC scopes are loading indefinitely diff --git a/lib/omni_auth/strategies/sso_oauth2_provider.rb b/lib/omni_auth/strategies/sso_oauth2_provider.rb index 70f3e89a5..150f23393 100644 --- a/lib/omni_auth/strategies/sso_oauth2_provider.rb +++ b/lib/omni_auth/strategies/sso_oauth2_provider.rb @@ -30,7 +30,7 @@ module OmniAuth::Strategies def authorize_params super.tap do |params| - params[:scope] = active_provider.providable.scopes + params[:scope] = OmniAuth::Strategies::SsoOauth2Provider.active_provider.providable.scopes end end