Custom label using openid omniauth provider not working

I successfully configured openid authentication with my keycloak instance. However, the label text of the OpenID login button is always “OpenID Connect”, even though I tried to change it. What am I doing wrong?

gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = ['keycloak']
gitlab_rails['omniauth_auto_link_ldap_user'] = true
gitlab_rails['omniauth_block_auto_created_users'] = false
gitlab_rails['omniauth_sync_profile_from_provider'] = ['keycloak']
gitlab_rails['omniauth_sync_profile_attributes'] = ['name', 'email', 'location']
gitlab_rails['omniauth_auto_link_user'] = ['keycloak']
#gitlab_rails['omniauth_allow_bypass_two_factor'] = ['keycloak']
gitlab_rails['omniauth_providers'] = [
  {
    name: "keycloak",
    label: "My Keycloak instance",
    args: {
      name: "openid_connect",
      scope: ["openid", "profile", "email", "roles"],
      response_type: "code",
      issuer: "https://auth.example.com/realms/myrealm",
      client_auth_method: "query",
      uid_field: "preferred_username",
      discovery: true,
      client_options: {
        identifier: "myidentifier",
        secret: "mysecret",
        redirect_uri: "https://gitlab.example.com/users/auth/openid_connect/callback"
      }
    }
  }
]