Database migration issue with 11.7.3 and OAuth
I've migrated this morning from 11.7.0 to 11.7.3 when playing gitlab-ctl reconfigure leads to an error
Recipe: gitlab::database_migrations bash[migrate gitlab-rails database] action run [execute] rake aborted! ArgumentError: 'import/AWSCognito' is not a supported controller name. This can lead to potential routing problems. See http://guides.rubyonrails.org/routing.html#specifying-a-controller-to-use /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/patch/draw_route.rb:30:in
instance_eval'
(eval):7:in block in draw_route'
Here's the omniauth configuration part for OAuth
gitlab_rails['omniauth_providers'] = [ { 'name' => 'oauth2_generic', 'app_id' => 'XXX', 'app_secret' => 'XXX', 'args' => { client_options: { 'site' => 'https://xx-pooldomain.auth.eu-central-1.amazoncognito.com/login', 'authorize_url' => 'https://xxx-pooldomain.auth.eu-central-1.amazoncognito.com/oauth2/authorize', 'token_url' => 'https://xxx-pooldomain.auth.eu-central-1.amazoncognito.com/oauth2/token', 'user_info_url' => '/oauth2/userInfo' }, user_response_structure: { id_path: 'sub', root_path: [], attributes: { nickname: 'preferred_username', email: 'email' }, }, name: 'AWSCognito', strategy_class: 'OmniAuth::Strategies::OAuth2Generic' } } ]