diff --git a/authz/client/src/main/java/org/keycloak/authorization/client/Configuration.java b/authz/client/src/main/java/org/keycloak/authorization/client/Configuration.java index 7e6802e9bc..5bfe1826cd 100644 --- a/authz/client/src/main/java/org/keycloak/authorization/client/Configuration.java +++ b/authz/client/src/main/java/org/keycloak/authorization/client/Configuration.java @@ -85,7 +85,7 @@ public class Configuration extends AdapterConfig { throw new RuntimeException("Client secret not provided."); } - requestHeaders.put("Authorization", BasicAuthHelper.createHeader(getResource(), secret)); + requestHeaders.put("Authorization", BasicAuthHelper.RFC6749.createHeader(getResource(), secret)); } }; }