diff --git a/docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc b/docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc
index fcccaf23740f6..97f340925e5d3 100644
--- a/docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc
+++ b/docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc
@@ -1685,7 +1685,7 @@ Start by adding the following dependencies to your test project:
.pom.xml
----
- net.sourceforge.htmlunit
+ org.htmlunit
htmlunit
@@ -1705,7 +1705,7 @@ Start by adding the following dependencies to your test project:
[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"]
.build.gradle
----
-testImplementation("net.sourceforge.htmlunit:htmlunit")
+testImplementation("org.htmlunit:htmlunit")
testImplementation("io.quarkus:quarkus-junit5")
----
diff --git a/docs/src/main/asciidoc/security-openid-connect-multitenancy.adoc b/docs/src/main/asciidoc/security-openid-connect-multitenancy.adoc
index d031ecdcd0071..bd551c0e14601 100644
--- a/docs/src/main/asciidoc/security-openid-connect-multitenancy.adoc
+++ b/docs/src/main/asciidoc/security-openid-connect-multitenancy.adoc
@@ -432,7 +432,7 @@ First, add the following dependencies:
test
- net.sourceforge.htmlunit
+ org.htmlunit
htmlunit
test
@@ -443,7 +443,7 @@ First, add the following dependencies:
----
testImplementation("io.quarkus:quarkus-test-keycloak-server")
testImplementation("io.rest-assured:rest-assured")
-testImplementation("net.sourceforge.htmlunit:htmlunit")
+testImplementation("org.htmlunit:htmlunit")
----
`quarkus-test-keycloak-server` provides a utility class `io.quarkus.test.keycloak.client.KeycloakTestClient` for acquiring the realm specific access tokens and which you can use with `RestAssured` for testing the `/{tenant}/bearer` endpoint expecting bearer access tokens.