Hi DHIS2 community.
We are implementing a DHIS2 instance with KeyCloak as an OpenID provider and have set everything up. Where does one fix the image for KeyCloak as displayed in the screenshot of the login screen below.
Hi DHIS2 community.
We are implementing a DHIS2 instance with KeyCloak as an OpenID provider and have set everything up. Where does one fix the image for KeyCloak as displayed in the screenshot of the login screen below.
To set a custom logo/image for the Keycloak button on the DHIS2 login page, you can use the logo_image configuration option in your dhis.conf file for the Keycloak OIDC provider.
oidc.provider.keycloak.logo_image = ../security/btn_keycloak.svg
oidc.provider.keycloak.logo_image_padding = 0px 1px
oidc.provider.keycloak.display_alias = Sign in with Keycloak
The important point here is that the image must be available on the same domain as the DHIS2 server, at a relative URL to the DHIS2 server. Remote URLs are not supported . I wrote up a tutorial for Athelia (which should be similar to KeyCloak ) here feat: Add tutorial on Authelia + LLDAP by jason-p-pickering · Pull Request #1724 · dhis2/dhis2-docs · GitHub. This might help you to get KeyCloak working as well.