File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ NC='\033[0m'
99echo -e " ${YELLOW} Validating OAuth test environment...${NC} "
1010echo " "
1111
12- # Check Keycloak health
12+ # Check Keycloak health — Keycloak 24+ moved /health off the main listener,
13+ # so probe the realm directly which is the meaningful liveness check anyway.
1314echo -n " Checking Keycloak health... "
14- if curl -sf http://localhost:9080/health/ready > /dev/null 2>&1 ; then
15+ if curl -sf http://localhost:9080/realms/stirling-oauth > /dev/null 2>&1 ; then
1516 echo -e " ${GREEN} ✓${NC} "
1617else
1718 echo -e " ${RED} ✗ Keycloak is not ready${NC} "
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ NC='\033[0m'
99echo -e " ${YELLOW} Validating SAML test environment...${NC} "
1010echo " "
1111
12- # Check Keycloak health
12+ # Check Keycloak health — Keycloak 24+ moved /health off the main listener,
13+ # so probe the realm directly which is the meaningful liveness check anyway.
1314echo -n " Checking Keycloak health... "
14- if curl -sf http://localhost:9080/health/ready > /dev/null 2>&1 ; then
15+ if curl -sf http://localhost:9080/realms/stirling-saml > /dev/null 2>&1 ; then
1516 echo -e " ${GREEN} ✓${NC} "
1617else
1718 echo -e " ${RED} ✗ Keycloak is not ready${NC} "
You can’t perform that action at this time.
0 commit comments