gitlab-org--gitlab-foss/lib
Stan Hu bf8f4c135a Fix OmniAuth OAuth2Generic strategy not loading
In https://github.com/rails/rails/commit/83b767ce, Rails 5.1 removed
support for using a String to specify a middleware. When the
strategy_class argument is passed from the GitLab YAML config to Devise,
Devise passes the string value straight through to Rails, and GitLab
would crash with a NoMethodError inside ActionDispatch::MiddlewareStack.

To make this OmniAuth strategy work again, we normalize the arguments by
converting the strategy_class value into an actual Class.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62216
2019-05-23 12:17:56 -07:00
..
api Merge branch 'api_masked_variables' into 'master' 2019-05-23 14:53:10 +00:00
assets
backup
banzai Merge branch 'patch-49' into 'master' 2019-05-06 07:41:10 +00: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 Fix OmniAuth OAuth2Generic strategy not loading 2019-05-23 12:17:56 -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 Migrate correlation and tracing code to LabKit 2019-04-18 09:57:16 +02:00
quality Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'" 2019-05-22 11:45:46 +00: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 Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'" 2019-05-22 11:45:46 +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 Merge branch 'winh-separate-frontend-fixtures' into 'master' 2019-05-07 07:45:42 +00:00
gt_one_coercion.rb
milestone_array.rb
mysql_zero_date.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb