OpenID Connect doesn't work when DISABLE_REGISTRATION: true

I have integrated gitea 1.16 with keycloak. When i set DISABLE_REGISTRATION = true in app.ini, i wont be able to connect gitea via OpenID Connect as well.

with the same setting DISABLE_REGISTRATION = true, how to make openid connect work?

i have used few parameters along with the above but dint work for me.


may i know is there any other settings i need to change ?

I have attached the images for the same

Any solution for this? or did i post it on the wrong forum?