gitlab-org--gitlab-foss/lib
Stan Hu a30d8e4a49 Make OpenID Connect work without requiring a name
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
2019-06-06 16:23:23 -07:00
..
api Include the port in the URLs of the API Link headers 2019-06-06 15:11:48 +02:00
assets
backup
banzai Use Redis for CacheMarkDownField on non AR models 2019-06-05 13:19:59 +08:00
bitbucket
bitbucket_server Fix typos in the whole gitlab-ce project 2019-05-20 14:11:44 +00:00
constraints
container_registry
declarative_policy Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
flowdock
generators/rails/post_deployment_migration
gitaly
gitlab Make OpenID Connect work without requiring a name 2019-06-06 16:23:23 -07:00
google_api
json_web_token
mattermost Remove Content-Type override for Mattermost OAuth login 2019-05-16 13:57:55 -04:00
microsoft_teams
object_storage
omni_auth/strategies
peek
quality Revert "Merge branch 'revert-04c3c6dd' into 'master'" 2019-05-22 21:47:32 +02:00
rouge
rspec_flaky
safe_zip
sentry
serializers
support Replace Unicorn with web server in the init.d script [ci skip] 2019-05-17 17:00:29 +00:00
system_check Fix typos in the whole gitlab-ce project 2019-05-20 14:11:44 +00:00
tasks Merge branch 'gitaly-version-v1.43.0' into 'master' 2019-05-31 14:16:54 +00:00
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 Add DNS rebinding protection settings 2019-05-30 10:47:57 -03:00
gt_one_coercion.rb
milestone_array.rb
mysql_zero_date.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb