diff --git a/Server/src/main/java/org/gluu/oxauth/model/registration/RegisterParamsValidator.java b/Server/src/main/java/org/gluu/oxauth/model/registration/RegisterParamsValidator.java index 899a6e9d3..428b7e893 100644 --- a/Server/src/main/java/org/gluu/oxauth/model/registration/RegisterParamsValidator.java +++ b/Server/src/main/java/org/gluu/oxauth/model/registration/RegisterParamsValidator.java @@ -349,7 +349,7 @@ public boolean validateInitiateLoginUri(String initiateLoginUri) { private boolean checkWhiteListRedirectUris(List redirectUris) { boolean valid = true; List whiteList = appConfiguration.getClientWhiteList(); - boolean wildcardSupported = appConfiguration.getAllowWildcardRedirectUri(); + boolean wildcardSupported = isTrue(appConfiguration.getAllowWildcardRedirectUri()); URLPatternList urlPatternList = new URLPatternList(whiteList, wildcardSupported); for (String redirectUri : redirectUris) { @@ -365,7 +365,7 @@ private boolean checkWhiteListRedirectUris(List redirectUris) { private boolean checkBlackListRedirectUris(List redirectUris) { boolean valid = true; List blackList = appConfiguration.getClientBlackList(); - boolean wildcardSupported = appConfiguration.getAllowWildcardRedirectUri(); + boolean wildcardSupported = isTrue(appConfiguration.getAllowWildcardRedirectUri()); URLPatternList urlPatternList = new URLPatternList(blackList, wildcardSupported); for (String redirectUri : redirectUris) {