Being able to authenticate on gitlab through openid connector to keycloak from git client

Dear Gitlab community,

I have a community gitlab installation integrated with keycloak through openid. This means gitlab login page has a button that redirects me to my keycloak instance for authentication. We did this configuration in omniauth.
My issue is that, I can’t push code to my gitlab repo using my git command line and keycloak credentials because the authentication fails (only gitlab local credentials seems to work).


  • Is there anywhere in there any documentation to fix this?
  • Which logs in gitlab should show this error?

thank you very much