Replies: 1 comment 3 replies
-
This will be fixed in 3.2, thanks.
…On Fri, 5 May 2023, 15:05 tsilaRaf, ***@***.***> wrote:
Good morning,
We want to install version 3.1 of the APIMAN Gateway in vertx.
We use Keycloak Quarkus (version 20) as authentication server and
elasticsearch version 8.6 as database.
We are having a problem because we cannot reach the keycloak url and we
have the following error message:
thp-api-gw-vertx | [ERROR] 2023-05-05 10:44:00.634
[vert.x-eventloop-thread-1] KeycloakOAuthFactory - Failure during discovery
thp-api-gw-vertx | io.vertx.core.impl.NoStackTraceThrowable: Not Found:
{"error":"RESTEASY003210: Could not find resource for full path: https://{alias
dns}*/null*/realms/apiman/.well-known/openid -configuration"}
*We can observe:*
-The gateway adds /null in after https://{alias dns}/
*Track:*
-Keycloak(version 15.1) => url path: https://{alias dns}/auth
-Keycloak(version 20) => url path: https://{alias dns}/
We tested with another Gateway APIMAN (version 2.3) wildfly , on the same
version of the keycloak (version 20) and we don't have the problem.
*Below is an excerpt from our Gateway configuration:*
"auth": {
"type": "keycloak",
"config": {
"flowType": "PASSWORD",
"requiredRole": "realm:apipublisher",
"realm": "apiman",
"realm-public-key": "${KEYCLOAK_PUBLIC_KEY}",
"auth-server-url": "https://${alias dns}",
"ssl-required": "none",
"resource": "apiman-gateway-api",
"credentials": {
"secret": "${KEYCLOAK_GW_SECRET}"
}
}
}
*List of our software components:*
- APIMAN (version 3.1.0: Gateway vert.x + Manager wildfly)
- JAVA JEE application server: WILDFLY (version 23.0.2)
- ELASTICSEARCH (version 8.6)
- KIBANA (version 8.6)
- Postgres (version 15)
- KEYCLOAK (version 20.0.3)
- VAULT (version 1.11.2)
Could you help us solve our problem?
THANKS,
Cordially,
—
Reply to this email directly, view it on GitHub
<#2524>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADHMWLJDJUGYWLIKYUSDWTXEUCLVANCNFSM6AAAAAAXXFKW6Y>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good morning,
We want to install version 3.1 of the APIMAN Gateway in vertx.
We use Keycloak Quarkus (version 20) as authentication server and elasticsearch version 8.6 as database.
We are having a problem because we cannot reach the keycloak url and we have the following error message:
thp-api-gw-vertx | [ERROR] 2023-05-05 10:44:00.634 [vert.x-eventloop-thread-1] KeycloakOAuthFactory - Failure during discovery
thp-api-gw-vertx | io.vertx.core.impl.NoStackTraceThrowable: Not Found: {"error":"RESTEASY003210: Could not find resource for full path: https://{alias dns}/null/realms/apiman/.well-known/openid -configuration"}
We can observe:
-The gateway adds /null in after https://{alias dns}/
Track:
-Keycloak(version 15.1) => url path: https://{alias dns}/auth
-Keycloak(version 20) => url path: https://{alias dns}/
We tested with another Gateway APIMAN (version 2.3) wildfly , on the same version of the keycloak (version 20) and we don't have the problem.
Below is an excerpt from our Gateway configuration:
"auth": {
"type": "keycloak",
"config": {
"flowType": "PASSWORD",
"requiredRole": "realm:apipublisher",
"realm": "apiman",
"realm-public-key": "${KEYCLOAK_PUBLIC_KEY}",
"auth-server-url": "https://${alias dns}",
"ssl-required": "none",
"resource": "apiman-gateway-api",
"credentials": {
"secret": "${KEYCLOAK_GW_SECRET}"
}
}
}
List of our software components:
Could you help us solve our problem?
THANKS,
Cordially,
Beta Was this translation helpful? Give feedback.
All reactions