Updating keycloak integration code.