Grant type urn:ietf:params:oauth:grant-type:uma-ticket token service endpoint returns NullPointerException
Closes #34176 Signed-off-by: Martin Kanis <mkanis@redhat.com>
This commit is contained in:
parent
34f090143c
commit
77f83d7f65
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ public class DPoPUtil {
|
|||
}
|
||||
|
||||
HttpRequest request = keycloakSession.getContext().getHttpRequest();
|
||||
final boolean isClientRequiresDpop = clientConfig.isUseDPoP();
|
||||
final boolean isClientRequiresDpop = clientConfig != null && clientConfig.isUseDPoP();
|
||||
final boolean isDpopHeaderPresent = request.getHttpHeaders().getHeaderString(DPoPUtil.DPOP_HTTP_HEADER) != null;
|
||||
if (!isClientRequiresDpop && !isDpopHeaderPresent) {
|
||||
return Optional.empty();
|
||||
|
|
Loading…
Reference in a new issue