Omniauth openid integration

Dear Gitlab user community,

I have a local test gitlab instance and I also sid the integration with keycloak through openid/omniauth configuration.
I can see the openid button in the gitlab login page and can authenticate through the web interface.\

However, git push does not recognise my openid credentials and I can only authenticate to gitlab from git command line using gitlab local accounts.

this is my configuration in gitlab.rb

gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = ["openid_connect"]
gitlab_rails['omniauth_auto_link_user'] = ["openid_connect"]
gitlab_rails['omniauth_auto_link_ldap_user'] = true
gitlab_rails['omniauth_block_auto_created_users'] = false
gitlab_rails['omniauth_providers'] = [
  {
    'name' => 'openid_connect',
    'label' => 'Keycloak',
    'args' => {
      'name' => 'openid_connect',
      'scope' => ['openid', 'profile', 'email'],
      'response_type' => 'code',
      'issuer' =>  'https://xxx',
      'client_auth_method' => 'query',
      'discovery' => true,
      'uid_field' => 'preferred_username',
      'client_options' => {
        'identifier' => 'gitlab-tds',
        'secret' => 'xxx',
        'redirect_uri' => 'https://xxx/users/auth/openid_connect/callback'
      }
    }
  }
]

Any idea what I need to do to be able to authenticate to gitlab through git command line client?

thank you very much
Manuel