KEYCLOAK-8318 Workaround ELY-1525 similarly to OIDC adapter
This commit is contained in:
parent
3d4283fac9
commit
67eb0c3079
1 changed files with 12 additions and 1 deletions
|
@ -181,7 +181,18 @@ class ElytronHttpFacade implements HttpFacade {
|
|||
|
||||
@Override
|
||||
public String getQueryParamValue(String param) {
|
||||
return request.getFirstParameterValue(param);
|
||||
URI requestURI = request.getRequestURI();
|
||||
String query = requestURI.getQuery();
|
||||
if (query != null) {
|
||||
String[] parameters = query.split("&");
|
||||
for (String parameter : parameters) {
|
||||
String[] keyValue = parameter.split("=");
|
||||
if (keyValue[0].equals(param)) {
|
||||
return keyValue[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue