a30d8e4a49
If there is no name argument given, OmniAuth will try to guess the name by the class name. In https://github.com/omniauth/omniauth/blob/v1.9.0/lib/omniauth/strategy.rb#L139, `OmniAuth::Strategies::OpenIDConnect` gets translated to `openidconnect`. This leads to an immediate 404 error after clicking the login button because OmniAuth can't match the current route (/users/auth/openid_connect) against the expected one (/users/auth/openidconnect). Other providers, such as Google OAuth2, set this name as the default option within the OmniAuth Strategy. Until a fix is merged upstream, let's just set the parameter ourselves. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62208 |
||
---|---|---|
.. | ||
api | ||
assets | ||
backup | ||
banzai | ||
bitbucket | ||
bitbucket_server | ||
constraints | ||
container_registry | ||
declarative_policy | ||
flowdock | ||
generators/rails/post_deployment_migration | ||
gitaly | ||
gitlab | ||
google_api | ||
json_web_token | ||
mattermost | ||
microsoft_teams | ||
object_storage | ||
omni_auth/strategies | ||
peek | ||
quality | ||
rouge | ||
rspec_flaky | ||
safe_zip | ||
sentry | ||
serializers | ||
support | ||
system_check | ||
tasks | ||
after_commit_queue.rb | ||
backup.rb | ||
banzai.rb | ||
carrier_wave_string_file.rb | ||
declarative_policy.rb | ||
event_filter.rb | ||
expand_variables.rb | ||
extracts_path.rb | ||
feature.rb | ||
file_size_validator.rb | ||
forever.rb | ||
gitlab.rb | ||
gt_one_coercion.rb | ||
milestone_array.rb | ||
mysql_zero_date.rb | ||
static_model.rb | ||
system_check.rb | ||
uploaded_file.rb | ||
version_check.rb |