Merge remote-tracking branch 'origin/lei_dev' into leng_dev

This commit is contained in:
lbw committed 2023-01-28 11:18:42 +08:00
commit b2146f019e
1 file changed
+1 -1
@@ -113,7 +113,7 @@ public class PigRemoteRegisteredClientRepository implements RegisteredClientRepo
// 注入扩展配置
Optional.ofNullable(clientDetails.getAdditionalInformation()).ifPresent(ext -> {
Map map = JSONUtil.parseObj(ext).toBean(Map.class);
builder.clientSettings(ClientSettings.withSettings(map)
builder.clientSettings(ClientSettings.withSettings(map).requireProofKey(false)
.requireAuthorizationConsent(!BooleanUtil.toBoolean(clientDetails.getAutoapprove())).build());
});