Skip to content

Commit

Permalink
avoid npe in RegisterParamsValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyz committed Aug 20, 2024
1 parent 6a2c291 commit 07af0b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public boolean validateInitiateLoginUri(String initiateLoginUri) {
private boolean checkWhiteListRedirectUris(List<String> redirectUris) {
boolean valid = true;
List<String> whiteList = appConfiguration.getClientWhiteList();
boolean wildcardSupported = appConfiguration.getAllowWildcardRedirectUri();
boolean wildcardSupported = isTrue(appConfiguration.getAllowWildcardRedirectUri());
URLPatternList urlPatternList = new URLPatternList(whiteList, wildcardSupported);

for (String redirectUri : redirectUris) {
Expand All @@ -365,7 +365,7 @@ private boolean checkWhiteListRedirectUris(List<String> redirectUris) {
private boolean checkBlackListRedirectUris(List<String> redirectUris) {
boolean valid = true;
List<String> blackList = appConfiguration.getClientBlackList();
boolean wildcardSupported = appConfiguration.getAllowWildcardRedirectUri();
boolean wildcardSupported = isTrue(appConfiguration.getAllowWildcardRedirectUri());
URLPatternList urlPatternList = new URLPatternList(blackList, wildcardSupported);

for (String redirectUri : redirectUris) {
Expand Down

0 comments on commit 07af0b7

Please sign in to comment.