Query parameters lost on redirect to keycloak OIDC

2,121 views
Skip to first unread message

39loran last

unread,
Nov 24, 2022, 1:14:17 PM11/24/22
to WildFly
Usinf Wildfly 26

 Keyclaock redirects to  https://myServer/myapp

myparam is lost.

BTW, excat same problem described here (quarkus). Apparently solved

Zeta

unread,
Nov 25, 2022, 2:23:18 AM11/25/22
to WildFly
I asked the same question before and didn't get any answser:

Looking at the source code, Wildfly Elytron OIDC Client only uses the URL path in the redirect_uri query parameter
when redirecting to Keycloak in an authentication flow. It completely ignores the query paramaters of the secured URL
that the user is accessing. So Keycloak server has no information about these parameters.

Probably including these query parameters would break the URL parsing in the keycloak side.

39loran last

unread,
Nov 25, 2022, 3:39:43 AM11/25/22
to WildFly
I have created a issue at redhat

asmaa salem

unread,
May 24, 2023, 12:40:12 PM5/24/23
to WildFly
Hi, 

Did you manage to solve this? I'm facing the same issue :/ 

Reply all
Reply to author
Forward
0 new messages