Fix NPE InMemoryClientRegistrationRepository
This commit is contained in:
parent
0e9b2807bf
commit
7fb3093617
|
@ -62,7 +62,7 @@ public final class InMemoryClientRegistrationRepository implements ClientRegistr
|
|||
return this.registrations.values().stream()
|
||||
.filter(registration -> registration.getClientAlias().equals(clientAlias))
|
||||
.findFirst()
|
||||
.orElseGet(null);
|
||||
.orElse(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue