If you have some error message, it would be easier to identify the issue. Typical problems:
- incorrect redirect url
- incorrect endpoints on gitea. I haven’t used gitea yet, but keycloak changes their openid configuration endpoint from
[your host]/realms/[your realm]/.well-known/openid-configuration/
to[your host]/auth/realms/[your realm]/.well-known/openid-configuration/
, and some apps still use the old one. You might be able to correct this by manually entering keycloak endpoint in your oidc settings.
timbuck2themoon@sh.itjust.works 8 months ago
Yep. I’ve got a test instance working with keycloak. Post up the problem you’re having and i can check it against mine. I think all of it was configured via UI on both except there are two changes in the gitea config.INI that allowed that auth and auto created users if they didn’t exist yet.