OIDC Client in Wildfly 26.0.1: Query parameters lost on redirection to Keycloak service

244 views
Skip to first unread message

Zeta

unread,
Mar 23, 2022, 8:15:44 AM3/23/22
to WildFly
When accessing a protected URL with query parameters in a secured Web application and a redirection for authentication is required, WildFly OIDC client ignores (or loses)  query parameters. So, they are not available when redirecting to the orginal URL after the user is authenticated.

For example, when accessing a secured URL with query parameters:

WildFly OIDC client redirects to Keycloak service using the URL:
response_type=code
&client_id=web-app
&redirect_uri=http%3A%2F%2Fhost%3A8080%2Fweb-app%2Fresource
&state=7b326bd7-087e-4788-9ed9-2f1b781fdcad
&scope=openid

Is this not supported, a bug or a missed configuration?
Thanks in advance
Reply all
Reply to author
Forward
0 new messages