Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement proper Keycloak Healthcheck before connecting #1277

Open
pankalog opened this issue Mar 31, 2024 · 0 comments
Open

Implement proper Keycloak Healthcheck before connecting #1277

pankalog opened this issue Mar 31, 2024 · 0 comments

Comments

@pankalog
Copy link
Member

protected void pingKeycloak(KeycloakResource resource) throws Exception {

Using the welcome page as a tester for if keycloak is running is not the best. Keycloak now has a healthcheck API: https://www.keycloak.org/server/health

Maybe use this to check if keycloak is healthy or not before performing any actions.

The healthcheck is already enabled in OpenRemote so no Keycloak configuration changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant