domino_admin_toolkit.checks.test_keycloak module
- Description:
Validates keycloak is running and can be accessed
- Result:
Test can login to keycloak successfully and returns a version, version may contain known issue as seen below
- domino_admin_toolkit.checks.test_keycloak.keycloak_status()
- domino_admin_toolkit.checks.test_keycloak.test_keycloak_clients_matches()
- Description:
Validates that the client secrets in Keycloak match the secrets in the Domino credential store.
- Result:
If the client secrets in Keycloak match the secrets in the Domino credential store, the test passes. If the secrets do not match, an assertion error is raised.
- domino_admin_toolkit.checks.test_keycloak.test_keycloak_version()
- Description:
Checks the Keycloak version. Retrieves the host, port and protocol information.
- Result:
Failure to connect to the Keycloak Admin logs an error message. If it succeeds, it retrieves the server information and extracts the version from it. The function then asserts that the version is not empty and is not equal to “8.0.1”. Keycloak 8.0.1 has a known bug which breaks the Domino “First broker login” flow, Note if the bug has been fixed manually this check would still flag it as it only checks the Keycloak version
- Public Facing KB: